ALPS MPS Codes
Reference documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Functions
maquis::dmrg Namespace Reference

Namespaces

 detail
 

Classes

class  one_matrix
 

Functions

template<typename T >
const one_matrix< T > operator+ (one_matrix< T > m1, one_matrix< T > const &m2)
 
template<typename T >
const one_matrix< T > operator- (one_matrix< T > m1, one_matrix< T > const &m2)
 
template<typename T >
const one_matrix< T > operator- (one_matrix< T > a)
 
template<typename T >
const one_matrix< T > operator* (one_matrix< T > const &m1, one_matrix< T > const &m2)
 
template<typename T >
std::size_t size_of (one_matrix< T > const &m)
 
template<typename T >
std::ostream & operator<< (std::ostream &o, one_matrix< T > const &m)
 

Function Documentation

template<typename T >
const one_matrix<T> maquis::dmrg::operator* ( one_matrix< T > const &  m1,
one_matrix< T > const &  m2 
)

Definition at line 126 of file one_matrix.hpp.

127  { return one_matrix<T>(1,1, m1(0,0) * m2(0,0)); }
template<typename T >
const one_matrix<T> maquis::dmrg::operator+ ( one_matrix< T >  m1,
one_matrix< T > const &  m2 
)

Definition at line 114 of file one_matrix.hpp.

115  { return one_matrix<T>(1,1, m1(0,0) + m2(0,0)); }
template<typename T >
const one_matrix<T> maquis::dmrg::operator- ( one_matrix< T >  m1,
one_matrix< T > const &  m2 
)

Definition at line 118 of file one_matrix.hpp.

119  { return one_matrix<T>(1,1, m1(0,0) - m2(0,0)); }
template<typename T >
const one_matrix<T> maquis::dmrg::operator- ( one_matrix< T >  a)

Definition at line 122 of file one_matrix.hpp.

123  { return one_matrix<T>(1,1, -a(0,0)); }
template<typename T >
std::ostream& maquis::dmrg::operator<< ( std::ostream &  o,
one_matrix< T > const &  m 
)

Definition at line 133 of file one_matrix.hpp.

133 { o << m(0,0); return o; }
template<typename T >
std::size_t maquis::dmrg::size_of ( one_matrix< T > const &  m)

Definition at line 130 of file one_matrix.hpp.

130 { return 1; }