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

Classes

class  collector_impl
 
class  collector_impl_base
 
class  name_not_in_list
 
struct  pos_tag_lt
 

Functions

template<class Matrix , class Generator >
void generate_impl (Matrix &m, Generator g)
 
template<class Matrix >
boost::enable_if
< boost::is_complex< typename
Matrix::value_type >, Matrix >
::type 
exp_dispatcher (Matrix const &m, typename Matrix::value_type const &alpha)
 
template<class Matrix >
boost::disable_if
< boost::is_complex< typename
Matrix::value_type >, Matrix >
::type 
exp_dispatcher (Matrix const &m, typename Matrix::value_type const &alpha)
 
alps::graph_helper const & get_graph (Lattice const &lat_)
 
template<class T >
int to_integer (alps::half_integer< T > const &qn_value)
 

Function Documentation

template<class Matrix >
boost::enable_if<boost::is_complex<typename Matrix::value_type>, Matrix>::type detail::exp_dispatcher ( Matrix const &  m,
typename Matrix::value_type const &  alpha 
)

Definition at line 541 of file block_matrix_algorithms.h.

542  {
543  return exp(m, alpha);
544  }
template<class Matrix >
boost::disable_if<boost::is_complex<typename Matrix::value_type>, Matrix>::type detail::exp_dispatcher ( Matrix const &  m,
typename Matrix::value_type const &  alpha 
)

Definition at line 548 of file block_matrix_algorithms.h.

549  {
550  throw std::runtime_error("Exponential of non-hermitian real matrices not implemented!");
551  return Matrix();
552  }
template<class Matrix , class Generator >
void detail::generate_impl ( Matrix &  m,
Generator  g 
)

Definition at line 311 of file block_matrix.hpp.

312  { generate(m, g); }
void generate(block_matrix< Matrix, SymmGroup > &m, Generator &g)
alps::graph_helper const& detail::get_graph ( Lattice const &  lat_)
inline

Definition at line 47 of file model.hpp.

48  {
49  alps_lattice const* alattice = static_cast<alps_lattice const*>(lat_.impl().get());
50  return alattice->alps_graph();
51  }
const graph_type & alps_graph() const
Definition: lattice.hpp:114
template<class T >
int detail::to_integer ( alps::half_integer< T > const &  qn_value)

Definition at line 38 of file symm_handler.hpp.

39  {
40  return qn_value.get_twice(); // always works with double QN, so that spin-1/2 and spin-1 are compatible
41  }