![]() |
mptensor
v0.3.0
Parallel Library for Tensor Network Methods
|
Implementation of scalapack::Matrix class. More...
#include <algorithm>#include <cassert>#include <cfloat>#include <complex>#include <iostream>#include <fstream>#include <vector>#include <string>#include <mpi.h>#include "../complex.hpp"#include "../mpi_wrapper.hpp"#include "blacsgrid.hpp"Go to the source code of this file.
Namespaces | |
| mptensor | |
| mptensor::scalapack | |
| Namespace for the distributed Matrix class with ScaLAPACK, PBLAS, and BLACS. | |
Functions | |
| int | numroc_ (int *M, int *MB, int *prow, int *irsrc, int *nprow) |
| void | descinit_ (int desca[], int *M, int *N, int *MB, int *NB, int *irsrc, int *icsrc, int *ictxt, int *lld, int *info) |
Matrix operations | |
| template<typename C > | |
| void | mptensor::scalapack::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::scalapack::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::scalapack::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 > | |
| double | mptensor::scalapack::max_abs (const Matrix< C > &a) |
| template<typename C > | |
| double | mptensor::scalapack::min_abs (const Matrix< C > &a) |
Implementation of scalapack::Matrix class.
| void descinit_ | ( | int | desca[], |
| int * | M, | ||
| int * | N, | ||
| int * | MB, | ||
| int * | NB, | ||
| int * | irsrc, | ||
| int * | icsrc, | ||
| int * | ictxt, | ||
| int * | lld, | ||
| int * | info | ||
| ) |
| int numroc_ | ( | int * | M, |
| int * | MB, | ||
| int * | prow, | ||
| int * | irsrc, | ||
| int * | nprow | ||
| ) |