mptensor  v0.3.0
Parallel Library for Tensor Network Methods
matrix_lapack_impl.hpp File Reference

Implemation of mptensor::lapack::Matrix. More...

#include <algorithm>
#include <cassert>
#include <fstream>
#include <iostream>
#include <vector>
#include <string>
#include "../complex.hpp"

Go to the source code of this file.

Namespaces

 mptensor
 
 mptensor::lapack
 Namespace for the non-distributed Matrix class with LAPACK.
 

Functions

Matrix operations
template<typename C >
void mptensor::lapack::replace_matrix_data (const Matrix< C > &M, const std::vector< int > &dest_rank, const std::vector< size_t > &local_position, Matrix< C > &M_new)
 
template<typename C >
void mptensor::lapack::replace_matrix_data (const std::vector< C > &V, const std::vector< int > &dest_rank, const std::vector< size_t > &local_position, Matrix< C > &M_new)
 
template<typename C >
void mptensor::lapack::sum_matrix_data (const Matrix< C > &M, const std::vector< int > &dest_rank, const std::vector< size_t > &local_position, Matrix< C > &M_new)
 
template<typename C >
mptensor::lapack::matrix_trace (const Matrix< C > &a)
 
template<typename C >
double mptensor::lapack::max_abs (const Matrix< C > &a)
 
template<typename C >
double mptensor::lapack::min_abs (const Matrix< C > &a)
 

Detailed Description