VMPS++
Loading...
Searching...
No Matches
PushType< Operator, Scalar > Struct Template Reference

Detailed Description

template<typename Operator, typename Scalar>
struct PushType< Operator, Scalar >

Definition at line 188 of file DmrgTypedefs.h.

#include <DmrgTypedefs.h>

Public Member Functions

template<typename OtherOperator >
void push_back (const std::tuple< std::size_t, std::vector< OtherOperator >, Scalar > &elem)
 
void push_back (const std::tuple< std::size_t, std::vector< Operator >, Scalar > &elem)
 
std::tuple< std::size_t, std::vector< Operator >, Scalar > operator[] (std::size_t i) const
 
std::tuple< std::size_t, std::vector< Operator >, Scalar > & operator[] (std::size_t i)
 
std::size_t size () const
 
template<typename OtherOperator , typename OtherScalar >
PushType< OtherOperator, OtherScalar > cast ()
 

Public Attributes

std::vector< std::tuple< std::size_t, std::vector< Operator >, Scalar > > data
 

Member Function Documentation

◆ cast()

template<typename Operator , typename Scalar >
template<typename OtherOperator , typename OtherScalar >
PushType< OtherOperator, OtherScalar > PushType< Operator, Scalar >::cast ( )
inline

Definition at line 214 of file DmrgTypedefs.h.

◆ operator[]() [1/2]

template<typename Operator , typename Scalar >
std::tuple< std::size_t, std::vector< Operator >, Scalar > & PushType< Operator, Scalar >::operator[] ( std::size_t  i)
inline

Definition at line 210 of file DmrgTypedefs.h.

◆ operator[]() [2/2]

template<typename Operator , typename Scalar >
std::tuple< std::size_t, std::vector< Operator >, Scalar > PushType< Operator, Scalar >::operator[] ( std::size_t  i) const
inline

Definition at line 209 of file DmrgTypedefs.h.

◆ push_back() [1/2]

template<typename Operator , typename Scalar >
void PushType< Operator, Scalar >::push_back ( const std::tuple< std::size_t, std::vector< Operator >, Scalar > &  elem)
inline

Definition at line 207 of file DmrgTypedefs.h.

◆ push_back() [2/2]

template<typename Operator , typename Scalar >
template<typename OtherOperator >
void PushType< Operator, Scalar >::push_back ( const std::tuple< std::size_t, std::vector< OtherOperator >, Scalar > &  elem)
inline

Definition at line 193 of file DmrgTypedefs.h.

◆ size()

template<typename Operator , typename Scalar >
std::size_t PushType< Operator, Scalar >::size ( ) const
inline

Definition at line 212 of file DmrgTypedefs.h.

Member Data Documentation

◆ data

template<typename Operator , typename Scalar >
std::vector<std::tuple<std::size_t, std::vector<Operator>, Scalar> > PushType< Operator, Scalar >::data

Definition at line 190 of file DmrgTypedefs.h.


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