ALPS MPS Codes
Reference documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
maquis::bindings::binding< std::vector< std::vector< T > >, C< alps::numeric::diagonal_matrix< T >, S > > Struct Template Reference

#include <bindings.hpp>

Static Public Member Functions

static std::vector
< std::vector< T > > 
convert (const C< alps::numeric::diagonal_matrix< T >, S > &m)
 

Detailed Description

template<typename T, typename S, template< class M, class SS > class C>
struct maquis::bindings::binding< std::vector< std::vector< T > >, C< alps::numeric::diagonal_matrix< T >, S > >

Definition at line 24 of file bindings.hpp.

Member Function Documentation

template<typename T , typename S , template< class M, class SS > class C>
static std::vector< std::vector<T> > maquis::bindings::binding< std::vector< std::vector< T > >, C< alps::numeric::diagonal_matrix< T >, S > >::convert ( const C< alps::numeric::diagonal_matrix< T >, S > &  m)
inlinestatic

Definition at line 25 of file bindings.hpp.

25  {
26  std::vector< std::vector<T> > set;
27  for(size_t k = 0; k < m.n_blocks(); ++k){
28  set.push_back(m[k].get_values());
29  }
30  return set;
31  }

The documentation for this struct was generated from the following file: