VMPS++
Loading...
Searching...
No Matches
VumpsMpoTransferMatrix.h File Reference
Include dependency graph for VumpsMpoTransferMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MpoTransferMatrix< Symmetry, Scalar >
 
struct  MpoTransferVector< Symmetry, Scalar_ >
 
struct  GaussianRandomVector< MpoTransferVector< Symmetry, Scalar >, Scalar >
 

Functions

template<typename Symmetry , typename Scalar1 , typename Scalar2 >
void HxV (const MpoTransferMatrix< Symmetry, Scalar1 > &H, const MpoTransferVector< Symmetry, Scalar2 > &Vin, MpoTransferVector< Symmetry, Scalar2 > &Vout)
 
template<typename Symmetry , typename Scalar1 , typename Scalar2 >
void HxV (const MpoTransferMatrix< Symmetry, Scalar1 > &H, MpoTransferVector< Symmetry, Scalar2 > &Vinout)
 
template<typename Symmetry , typename Scalar >
size_t dim (const MpoTransferMatrix< Symmetry, Scalar > &H)
 
template<typename Symmetry , typename Scalar >
size_t dim (const MpoTransferVector< Symmetry, Scalar > &V)
 
template<typename Symmetry , typename Scalar >
double squaredNorm (const MpoTransferVector< Symmetry, Scalar > &V)
 
template<typename Symmetry , typename Scalar >
double norm (const MpoTransferVector< Symmetry, Scalar > &V)
 
template<typename Symmetry , typename Scalar >
void normalize (MpoTransferVector< Symmetry, Scalar > &V)
 
template<typename Symmetry , typename Scalar >
Scalar dot (const MpoTransferVector< Symmetry, Scalar > &V1, const MpoTransferVector< Symmetry, Scalar > &V2)
 
template<typename Symmetry , typename Scalar , typename OtherScalar >
MpoTransferVector< Symmetry, Scalar > operator* (const OtherScalar &alpha, MpoTransferVector< Symmetry, Scalar > V)
 
template<typename Symmetry , typename Scalar , typename OtherScalar >
MpoTransferVector< Symmetry, Scalar > operator/ (MpoTransferVector< Symmetry, Scalar > V, const OtherScalar &alpha)
 
template<typename Symmetry , typename Scalar , typename OtherScalar >
MpoTransferVector< Symmetry, Scalar > operator+ (const MpoTransferVector< Symmetry, Scalar > &V1, const MpoTransferVector< Symmetry, Scalar > &V2)
 
template<typename Symmetry , typename Scalar , typename OtherScalar >
MpoTransferVector< Symmetry, Scalar > operator- (const MpoTransferVector< Symmetry, Scalar > &V1, const MpoTransferVector< Symmetry, Scalar > &V2)
 
template<typename Symmetry , typename Scalar >
void setZero (MpoTransferVector< Symmetry, Scalar > &V)
 
template<typename Symmetry , typename Scalar , typename OtherScalar >
void addScale (const OtherScalar alpha, const MpoTransferVector< Symmetry, Scalar > &Vin, MpoTransferVector< Symmetry, Scalar > &Vout)
 

Function Documentation

◆ addScale()

template<typename Symmetry , typename Scalar , typename OtherScalar >
void addScale ( const OtherScalar  alpha,
const MpoTransferVector< Symmetry, Scalar > &  Vin,
MpoTransferVector< Symmetry, Scalar > &  Vout 
)
inline

Definition at line 376 of file VumpsMpoTransferMatrix.h.

◆ dim() [1/2]

template<typename Symmetry , typename Scalar >
size_t dim ( const MpoTransferMatrix< Symmetry, Scalar > &  H)
inline

Definition at line 223 of file VumpsMpoTransferMatrix.h.

◆ dim() [2/2]

template<typename Symmetry , typename Scalar >
size_t dim ( const MpoTransferVector< Symmetry, Scalar > &  V)
inline

Definition at line 229 of file VumpsMpoTransferMatrix.h.

◆ dot()

template<typename Symmetry , typename Scalar >
Scalar dot ( const MpoTransferVector< Symmetry, Scalar > &  V1,
const MpoTransferVector< Symmetry, Scalar > &  V2 
)
inline

Definition at line 259 of file VumpsMpoTransferMatrix.h.

◆ HxV()

template<typename Symmetry , typename Scalar1 , typename Scalar2 >
void HxV ( const MpoTransferMatrix< Symmetry, Scalar1 > &  H,
MpoTransferVector< Symmetry, Scalar2 > &  Vinout 
)

Definition at line 215 of file VumpsMpoTransferMatrix.h.

◆ norm()

template<typename Symmetry , typename Scalar >
double norm ( const MpoTransferVector< Symmetry, Scalar > &  V)
inline

Definition at line 247 of file VumpsMpoTransferMatrix.h.

◆ normalize()

template<typename Symmetry , typename Scalar >
void normalize ( MpoTransferVector< Symmetry, Scalar > &  V)
inline

Definition at line 253 of file VumpsMpoTransferMatrix.h.

◆ operator*()

template<typename Symmetry , typename Scalar , typename OtherScalar >
MpoTransferVector< Symmetry, Scalar > operator* ( const OtherScalar &  alpha,
MpoTransferVector< Symmetry, Scalar >  V 
)

Definition at line 342 of file VumpsMpoTransferMatrix.h.

◆ operator+()

template<typename Symmetry , typename Scalar , typename OtherScalar >
MpoTransferVector< Symmetry, Scalar > operator+ ( const MpoTransferVector< Symmetry, Scalar > &  V1,
const MpoTransferVector< Symmetry, Scalar > &  V2 
)

Definition at line 354 of file VumpsMpoTransferMatrix.h.

◆ operator-()

template<typename Symmetry , typename Scalar , typename OtherScalar >
MpoTransferVector< Symmetry, Scalar > operator- ( const MpoTransferVector< Symmetry, Scalar > &  V1,
const MpoTransferVector< Symmetry, Scalar > &  V2 
)

Definition at line 362 of file VumpsMpoTransferMatrix.h.

◆ operator/()

template<typename Symmetry , typename Scalar , typename OtherScalar >
MpoTransferVector< Symmetry, Scalar > operator/ ( MpoTransferVector< Symmetry, Scalar >  V,
const OtherScalar &  alpha 
)

Definition at line 348 of file VumpsMpoTransferMatrix.h.

◆ setZero()

template<typename Symmetry , typename Scalar >
void setZero ( MpoTransferVector< Symmetry, Scalar > &  V)
inline

Definition at line 370 of file VumpsMpoTransferMatrix.h.

◆ squaredNorm()

template<typename Symmetry , typename Scalar >
double squaredNorm ( const MpoTransferVector< Symmetry, Scalar > &  V)
inline

Definition at line 241 of file VumpsMpoTransferMatrix.h.