ALPS MPS Codes
Reference documentation.
|
#include <one_matrix.hpp>
Public Types | |
typedef T | value_type |
typedef T & | reference |
typedef T const & | const_reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef reference | element_iterator |
typedef const_reference | const_element_iterator |
Public Member Functions | |
one_matrix (size_type rows=1, size_type cols=1, T init_value=T()) | |
void | swap (one_matrix &r) |
value_type & | operator() (const size_type i, const size_type j) |
value_type const & | operator() (const size_type i, const size_type j) const |
bool | operator== (one_matrix const &rhs) const |
one_matrix< T > & | operator+= (one_matrix const &rhs) |
one_matrix< T > & | operator-= (one_matrix const &rhs) |
template<typename T2 > | |
one_matrix< T > & | operator*= (T2 const &t) |
template<typename T2 > | |
one_matrix< T > & | operator/= (T2 const &t) |
bool | empty () const |
size_type | num_rows () const |
size_type | num_cols () const |
std::pair< element_iterator, element_iterator > | elements () |
std::pair < const_element_iterator, const_element_iterator > | elements () const |
Friends | |
void | swap (one_matrix &x, one_matrix &y) |
Definition at line 36 of file one_matrix.hpp.
typedef const_reference maquis::dmrg::one_matrix< T >::const_element_iterator |
Definition at line 45 of file one_matrix.hpp.
typedef T const& maquis::dmrg::one_matrix< T >::const_reference |
Definition at line 40 of file one_matrix.hpp.
typedef std::ptrdiff_t maquis::dmrg::one_matrix< T >::difference_type |
Definition at line 42 of file one_matrix.hpp.
typedef reference maquis::dmrg::one_matrix< T >::element_iterator |
Definition at line 44 of file one_matrix.hpp.
typedef T& maquis::dmrg::one_matrix< T >::reference |
Definition at line 39 of file one_matrix.hpp.
typedef std::size_t maquis::dmrg::one_matrix< T >::size_type |
Definition at line 41 of file one_matrix.hpp.
typedef T maquis::dmrg::one_matrix< T >::value_type |
Definition at line 38 of file one_matrix.hpp.
|
inlineexplicit |
Definition at line 47 of file one_matrix.hpp.
|
inline |
Definition at line 84 of file one_matrix.hpp.
|
inline |
Definition at line 85 of file one_matrix.hpp.
|
inline |
Definition at line 79 of file one_matrix.hpp.
|
inline |
Definition at line 82 of file one_matrix.hpp.
|
inline |
Definition at line 81 of file one_matrix.hpp.
|
inline |
Definition at line 59 of file one_matrix.hpp.
|
inline |
Definition at line 63 of file one_matrix.hpp.
|
inline |
Definition at line 74 of file one_matrix.hpp.
|
inline |
Definition at line 70 of file one_matrix.hpp.
|
inline |
Definition at line 71 of file one_matrix.hpp.
|
inline |
Definition at line 77 of file one_matrix.hpp.
|
inline |
Definition at line 68 of file one_matrix.hpp.
|
inline |
Definition at line 52 of file one_matrix.hpp.
|
friend |
Definition at line 54 of file one_matrix.hpp.