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

Interface of Matrix class. More...

#include <iostream>
#include <vector>
#include "matrix_interface_doc.hpp"

Go to the source code of this file.

Classes

class  mptensor::matrix_interface::Matrix< C >
 Inteface of Matrix class. More...
 

Namespaces

 mptensor
 
 mptensor::matrix_interface
 Nameclass for Matrix inteface.
 

Functions

template<typename C >
void mptensor::matrix_interface::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::matrix_interface::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::matrix_interface::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::matrix_interface::matrix_trace (const Matrix< C > &a)
 
template<typename C >
void mptensor::matrix_interface::matrix_product (const Matrix< C > &a, const Matrix< C > &b, Matrix< C > &c)
 
template<typename C >
int mptensor::matrix_interface::matrix_svd (Matrix< C > &a, Matrix< C > &u, std::vector< double > &s, Matrix< C > &v)
 
template<typename C >
int mptensor::matrix_interface::matrix_svd (Matrix< C > &a, std::vector< double > &s)
 
template<typename C >
int mptensor::matrix_interface::matrix_qr (Matrix< C > &a, Matrix< C > &r)
 
template<typename C >
int mptensor::matrix_interface::matrix_eigh (Matrix< C > &a, std::vector< double > &s, Matrix< C > &u)
 
template<typename C >
int mptensor::matrix_interface::matrix_eigh (Matrix< C > &a, std::vector< double > &s)
 Eigenvalues of a hermite (symmetric) matrix. More...
 
template<typename C >
int mptensor::matrix_interface::matrix_eigh (Matrix< C > &a, Matrix< C > &b, std::vector< double > &s, Matrix< C > &u)
 
template<typename C >
int mptensor::matrix_interface::matrix_eig (Matrix< C > &a, std::vector< complex > &s, Matrix< complex > &u)
 
template<typename C >
int mptensor::matrix_interface::matrix_eig (Matrix< C > &a, std::vector< complex > &s)
 
template<typename C >
int mptensor::matrix_interface::matrix_solve (Matrix< C > &a, Matrix< C > &b)
 Solve linear equation \( AX=B\). More...
 
template<typename C >
double mptensor::matrix_interface::max (const Matrix< C > &a)
 Return the maximum element. More...
 
template<typename C >
double mptensor::matrix_interface::min (const Matrix< C > &a)
 Return the minimum element. More...
 
template<typename C >
double mptensor::matrix_interface::max_abs (const Matrix< C > &a)
 Return the maximum of the absolute value of elements. More...
 
template<typename C >
double mptensor::matrix_interface::min_abs (const Matrix< C > &a)
 Return the minimum of the absolute value of elements. More...
 

Detailed Description

Interface of Matrix class.

Author
Satoshi Morita