ALPS MPS Codes
Reference documentation.
|
#include <mpotensor.h>
Public Types | |
typedef std::size_t | index_type |
typedef Matrix::value_type | value_type |
typedef maquis::traits::scalar_type < Matrix >::type | scalar_type |
typedef OPTable< Matrix, SymmGroup >::tag_type | tag_type |
typedef OPTable< Matrix, SymmGroup >::op_t | op_t |
typedef boost::shared_ptr < OPTable< Matrix, SymmGroup > > | op_table_ptr |
typedef MPOTensor_detail::row_proxy < typename RowIndex::value_type::const_iterator > | row_proxy |
typedef boost::numeric::ublas::matrix_column < const CSCMatrix > | col_proxy |
Public Member Functions | |
MPOTensor (index_type=1, index_type=1, prempo_t const &=prempo_t(), op_table_ptr=op_table_ptr()) | |
index_type | row_dim () const |
index_type | col_dim () const |
void | set (index_type li, index_type ri, op_t const &op, value_type scale_=1.0) |
MPOTensor_detail::const_term_descriptor < Matrix, SymmGroup > | at (index_type left_index, index_type right_index) const |
MPOTensor_detail::term_descriptor < Matrix, SymmGroup > | at (index_type left_index, index_type right_index) |
row_proxy | row (index_type row_i) const |
col_proxy | column (index_type col_i) const |
tag_type | tag_number (index_type left_index, index_type right_index) const |
op_table_ptr | get_operator_table () const |
void | multiply_by_scalar (const scalar_type &) |
void | divide_by_scalar (const scalar_type &) |
bool | has (index_type left_index, index_type right_index) const |
Public Attributes | |
std::vector< int > | placement_l |
std::vector< int > | placement_r |
Friends | |
class | column_iterator< Matrix, SymmGroup > |
class | compressor< Matrix, SymmGroup > |
class | MPOIndexer< Matrix, SymmGroup > |
Definition at line 49 of file mpotensor.h.
typedef boost::numeric::ublas::matrix_column<const CSCMatrix> MPOTensor< Matrix, SymmGroup >::col_proxy |
Definition at line 72 of file mpotensor.h.
typedef std::size_t MPOTensor< Matrix, SymmGroup >::index_type |
Definition at line 52 of file mpotensor.h.
typedef OPTable<Matrix, SymmGroup>::op_t MPOTensor< Matrix, SymmGroup >::op_t |
Definition at line 57 of file mpotensor.h.
typedef boost::shared_ptr<OPTable<Matrix, SymmGroup> > MPOTensor< Matrix, SymmGroup >::op_table_ptr |
Definition at line 58 of file mpotensor.h.
typedef MPOTensor_detail::row_proxy<typename RowIndex::value_type::const_iterator> MPOTensor< Matrix, SymmGroup >::row_proxy |
Definition at line 71 of file mpotensor.h.
typedef maquis::traits::scalar_type<Matrix>::type MPOTensor< Matrix, SymmGroup >::scalar_type |
Definition at line 54 of file mpotensor.h.
typedef OPTable<Matrix, SymmGroup>::tag_type MPOTensor< Matrix, SymmGroup >::tag_type |
Definition at line 56 of file mpotensor.h.
typedef Matrix::value_type MPOTensor< Matrix, SymmGroup >::value_type |
Definition at line 53 of file mpotensor.h.
MPOTensor< Matrix, SymmGroup >::MPOTensor | ( | index_type | ld = 1 , |
index_type | rd = 1 , |
||
prempo_t const & | tags = prempo_t() , |
||
op_table_ptr | tbl_ = op_table_ptr() |
||
) |
Definition at line 31 of file mpotensor.hpp.
MPOTensor_detail::const_term_descriptor< Matrix, SymmGroup > MPOTensor< Matrix, SymmGroup >::at | ( | index_type | left_index, |
index_type | right_index | ||
) | const |
Definition at line 120 of file mpotensor.hpp.
MPOTensor_detail::term_descriptor< Matrix, SymmGroup > MPOTensor< Matrix, SymmGroup >::at | ( | index_type | left_index, |
index_type | right_index | ||
) |
Definition at line 131 of file mpotensor.hpp.
MPOTensor< Matrix, SymmGroup >::index_type MPOTensor< Matrix, SymmGroup >::col_dim | ( | ) | const |
Definition at line 185 of file mpotensor.hpp.
MPOTensor< Matrix, SymmGroup >::col_proxy MPOTensor< Matrix, SymmGroup >::column | ( | index_type | col_i | ) | const |
Definition at line 145 of file mpotensor.hpp.
void MPOTensor< Matrix, SymmGroup >::divide_by_scalar | ( | const scalar_type & | v | ) |
Definition at line 165 of file mpotensor.hpp.
MPOTensor< Matrix, SymmGroup >::op_table_ptr MPOTensor< Matrix, SymmGroup >::get_operator_table | ( | ) | const |
Definition at line 173 of file mpotensor.hpp.
bool MPOTensor< Matrix, SymmGroup >::has | ( | index_type | left_index, |
index_type | right_index | ||
) | const |
Definition at line 95 of file mpotensor.hpp.
void MPOTensor< Matrix, SymmGroup >::multiply_by_scalar | ( | const scalar_type & | v | ) |
Definition at line 157 of file mpotensor.hpp.
MPOTensor< Matrix, SymmGroup >::row_proxy MPOTensor< Matrix, SymmGroup >::row | ( | index_type | row_i | ) | const |
Definition at line 139 of file mpotensor.hpp.
MPOTensor< Matrix, SymmGroup >::index_type MPOTensor< Matrix, SymmGroup >::row_dim | ( | ) | const |
Definition at line 179 of file mpotensor.hpp.
void MPOTensor< Matrix, SymmGroup >::set | ( | index_type | li, |
index_type | ri, | ||
op_t const & | op, | ||
value_type | scale_ = 1.0 |
||
) |
Definition at line 106 of file mpotensor.hpp.
MPOTensor< Matrix, SymmGroup >::tag_type MPOTensor< Matrix, SymmGroup >::tag_number | ( | index_type | left_index, |
index_type | right_index | ||
) | const |
Definition at line 152 of file mpotensor.hpp.
|
friend |
Definition at line 111 of file mpotensor.h.
|
friend |
Definition at line 112 of file mpotensor.h.
|
friend |
Definition at line 113 of file mpotensor.h.
|
mutable |
Definition at line 116 of file mpotensor.h.
|
mutable |
Definition at line 117 of file mpotensor.h.