#include <triqs/arrays/block_matrix.hpp>
template<typename T>
struct triqs::arrays::block_matrix< T >
Block-diagonal matrix with named blocks.
- Template Parameters
-
| T | Scalar type (double/dcomplex) |
Definition at line 24 of file block_matrix.hpp.
|
|
nda::matrix_view< T > | operator() (std::string const &name) |
| | Call operator with a string (slow).
|
|
matrix_t & | operator[] (int i) |
| | Subscript operator (fast).
|
|
nda::matrix_const_view< T > | operator[] (int i) const |
| | Subscript operator (fast).
|
|
int | size () const |
| | Number of diagonal blocks.
|
|
|
void | h5_read (h5::group fg, std::string subgroup_name, block_matrix &c) |
| | Read from HDF5.
|
|
void | h5_write (h5::group fg, std::string subgroup_name, block_matrix const &c) |
| | Write to HDF5.
|
|
block_matrix | mpi_reduce (block_matrix const &m, mpi::communicator c, int root, bool all, MPI_Op op) |
| | MPI.
|
|
std::ostream & | operator<< (std::ostream &out, block_matrix const &c) |
| | Stream output.
|
The documentation for this struct was generated from the following file: