mptensor v0.5.1
Parallel Library for Tensor Network Methods
Loading...
Searching...
No Matches
interface.hpp File Reference

Interface of Matrix class. More...

#include <iostream>
#include <vector>
#include "mptensor/complex.hpp"
#include "mptensor/matrix/interface/interface_doc.hpp"
Include dependency graph for interface.hpp:

Go to the source code of this file.

Classes

class  mptensor::matrix::interface::Matrix< C >
 Inteface of Matrix class. More...
 

Namespaces

namespace  mptensor
 
namespace  mptensor::matrix
 Namespace for matrix classes.
 
namespace  mptensor::matrix::interface
 Nameclass for Matrix interface.
 

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 >
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.
 
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\).
 
template<typename C >
double mptensor::matrix::interface::max (const Matrix< C > &a)
 Return the maximum element.
 
template<typename C >
double mptensor::matrix::interface::min (const Matrix< C > &a)
 Return the minimum element.
 
template<typename C >
double mptensor::matrix::interface::max_abs (const Matrix< C > &a)
 Return the maximum of the absolute value of elements.
 
template<typename C >
double mptensor::matrix::interface::min_abs (const Matrix< C > &a)
 Return the minimum of the absolute value of elements.
 

Detailed Description

Interface of Matrix class.

Author
Satoshi Morita