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

Go to the source code of this file.

Classes

struct  TransferMatrix< Symmetry, Scalar >
 
struct  TransferVector< Symmetry, Scalar_ >
 
struct  GaussianRandomVector< TransferVector< Symmetry, Scalar >, Scalar >
 

Functions

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

Function Documentation

◆ addScale()

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

Definition at line 328 of file VumpsTransferMatrix.h.

◆ dim() [1/2]

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

Definition at line 49 of file VumpsTransferMatrix.h.

◆ dim() [2/2]

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

Definition at line 216 of file VumpsTransferMatrix.h.

◆ dot()

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

Definition at line 245 of file VumpsTransferMatrix.h.

◆ HxV() [1/2]

template<typename Symmetry , typename Scalar1 , typename Scalar2 >
void HxV ( const TransferMatrix< Symmetry, Scalar1 > &  H,
const TransferVector< Symmetry, Scalar2 > &  Vin,
TransferVector< Symmetry, Scalar2 > &  Vout 
)

Definition at line 80 of file VumpsTransferMatrix.h.

◆ HxV() [2/2]

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

Definition at line 208 of file VumpsTransferMatrix.h.

◆ norm()

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

Definition at line 233 of file VumpsTransferMatrix.h.

◆ normalize()

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

Definition at line 239 of file VumpsTransferMatrix.h.

◆ operator*()

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

Definition at line 294 of file VumpsTransferMatrix.h.

◆ operator+()

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

Definition at line 306 of file VumpsTransferMatrix.h.

◆ operator-()

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

Definition at line 314 of file VumpsTransferMatrix.h.

◆ operator/()

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

Definition at line 300 of file VumpsTransferMatrix.h.

◆ setZero()

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

Definition at line 322 of file VumpsTransferMatrix.h.

◆ squaredNorm()

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

Definition at line 227 of file VumpsTransferMatrix.h.