VMPS++
Loading...
Searching...
No Matches
DmrgPivotVector.h File Reference
#include "tensors/DmrgContractions.h"
#include "termcolor.hpp"
#include "RandomVector.h"
Include dependency graph for DmrgPivotVector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PivotVector< Symmetry, Scalar_ >
 
struct  GaussianRandomVector< PivotVector< Symmetry, Scalar_ >, Scalar_ >
 

Functions

template<typename Symmetry , typename Scalar_ , typename OtherScalar >
PivotVector< Symmetry, Scalar_ > operator* (const OtherScalar &alpha, PivotVector< Symmetry, Scalar_ > V)
 
template<typename Symmetry , typename Scalar_ , typename OtherScalar >
PivotVector< Symmetry, Scalar_ > operator* (PivotVector< Symmetry, Scalar_ > V, const OtherScalar &alpha)
 
template<typename Symmetry , typename Scalar_ , typename OtherScalar >
PivotVector< Symmetry, Scalar_ > operator/ (PivotVector< Symmetry, Scalar_ > V, const OtherScalar &alpha)
 
template<typename Symmetry , typename Scalar_ >
PivotVector< Symmetry, Scalar_ > operator+ (const PivotVector< Symmetry, Scalar_ > &V1, const PivotVector< Symmetry, Scalar_ > &V2)
 
template<typename Symmetry , typename Scalar_ >
PivotVector< Symmetry, Scalar_ > operator- (const PivotVector< Symmetry, Scalar_ > &V1, const PivotVector< Symmetry, Scalar_ > &V2)
 
template<typename Symmetry , typename Scalar_ , typename OtherScalar >
void addScale (const OtherScalar alpha, const PivotVector< Symmetry, Scalar_ > &Vin, PivotVector< Symmetry, Scalar_ > &Vout)
 
template<typename Symmetry , typename Scalar_ >
Scalar_ dot (const PivotVector< Symmetry, Scalar_ > &V1, const PivotVector< Symmetry, Scalar_ > &V2)
 
template<typename Symmetry , typename Scalar_ >
double squaredNorm (const PivotVector< Symmetry, Scalar_ > &V)
 
template<typename Symmetry , typename Scalar_ >
double norm (const PivotVector< Symmetry, Scalar_ > &V)
 
template<typename Symmetry , typename Scalar_ >
void normalize (PivotVector< Symmetry, Scalar_ > &V)
 
template<typename Symmetry , typename Scalar_ >
size_t dim (const PivotVector< Symmetry, Scalar_ > &V)
 
template<typename Symmetry , typename Scalar_ >
double infNorm (const PivotVector< Symmetry, Scalar_ > &V1, const PivotVector< Symmetry, Scalar_ > &V2)
 
template<typename Symmetry , typename Scalar_ >
void swap (PivotVector< Symmetry, Scalar_ > &V1, PivotVector< Symmetry, Scalar_ > &V2)
 
template<typename Symmetry , typename Scalar_ >
void setZero (PivotVector< Symmetry, Scalar_ > &V)
 

Function Documentation

◆ addScale()

template<typename Symmetry , typename Scalar_ , typename OtherScalar >
void addScale ( const OtherScalar  alpha,
const PivotVector< Symmetry, Scalar_ > &  Vin,
PivotVector< Symmetry, Scalar_ > &  Vout 
)

Definition at line 290 of file DmrgPivotVector.h.

◆ dim()

template<typename Symmetry , typename Scalar_ >
size_t dim ( const PivotVector< Symmetry, Scalar_ > &  V)
inline

Definition at line 361 of file DmrgPivotVector.h.

◆ dot()

template<typename Symmetry , typename Scalar_ >
Scalar_ dot ( const PivotVector< Symmetry, Scalar_ > &  V1,
const PivotVector< Symmetry, Scalar_ > &  V2 
)

Definition at line 297 of file DmrgPivotVector.h.

◆ infNorm()

template<typename Symmetry , typename Scalar_ >
double infNorm ( const PivotVector< Symmetry, Scalar_ > &  V1,
const PivotVector< Symmetry, Scalar_ > &  V2 
)

Definition at line 373 of file DmrgPivotVector.h.

◆ norm()

template<typename Symmetry , typename Scalar_ >
double norm ( const PivotVector< Symmetry, Scalar_ > &  V)
inline

Definition at line 349 of file DmrgPivotVector.h.

◆ normalize()

template<typename Symmetry , typename Scalar_ >
void normalize ( PivotVector< Symmetry, Scalar_ > &  V)
inline

Definition at line 355 of file DmrgPivotVector.h.

◆ operator*() [1/2]

template<typename Symmetry , typename Scalar_ , typename OtherScalar >
PivotVector< Symmetry, Scalar_ > operator* ( const OtherScalar &  alpha,
PivotVector< Symmetry, Scalar_ >  V 
)

Definition at line 256 of file DmrgPivotVector.h.

◆ operator*() [2/2]

template<typename Symmetry , typename Scalar_ , typename OtherScalar >
PivotVector< Symmetry, Scalar_ > operator* ( PivotVector< Symmetry, Scalar_ >  V,
const OtherScalar &  alpha 
)

Definition at line 262 of file DmrgPivotVector.h.

◆ operator+()

template<typename Symmetry , typename Scalar_ >
PivotVector< Symmetry, Scalar_ > operator+ ( const PivotVector< Symmetry, Scalar_ > &  V1,
const PivotVector< Symmetry, Scalar_ > &  V2 
)

Definition at line 274 of file DmrgPivotVector.h.

◆ operator-()

template<typename Symmetry , typename Scalar_ >
PivotVector< Symmetry, Scalar_ > operator- ( const PivotVector< Symmetry, Scalar_ > &  V1,
const PivotVector< Symmetry, Scalar_ > &  V2 
)

Definition at line 282 of file DmrgPivotVector.h.

◆ operator/()

template<typename Symmetry , typename Scalar_ , typename OtherScalar >
PivotVector< Symmetry, Scalar_ > operator/ ( PivotVector< Symmetry, Scalar_ >  V,
const OtherScalar &  alpha 
)

Definition at line 268 of file DmrgPivotVector.h.

◆ setZero()

template<typename Symmetry , typename Scalar_ >
void setZero ( PivotVector< Symmetry, Scalar_ > &  V)

Definition at line 399 of file DmrgPivotVector.h.

◆ squaredNorm()

template<typename Symmetry , typename Scalar_ >
double squaredNorm ( const PivotVector< Symmetry, Scalar_ > &  V)

Definition at line 342 of file DmrgPivotVector.h.

◆ swap()

template<typename Symmetry , typename Scalar_ >
void swap ( PivotVector< Symmetry, Scalar_ > &  V1,
PivotVector< Symmetry, Scalar_ > &  V2 
)

Definition at line 389 of file DmrgPivotVector.h.