MADNESS 0.10.1
madness::TensorArgs Struct Reference

TensorArgs holds the arguments for creating a LowRankTensor. More...

#include <gentensor.h>

Public Member Functions

 TensorArgs ()
 TensorArgs (const double &thresh1, const TensorType &tt1)
 TensorArgs (const TensorType &tt1, const double &thresh1)
template<typename Archive>
void serialize (const Archive &ar)

Static Public Member Functions

static std::string what_am_i (const TensorType &tt)

Public Attributes

double thresh
TensorType tt

Detailed Description

TensorArgs holds the arguments for creating a LowRankTensor.

Constructor & Destructor Documentation

◆ TensorArgs() [1/3]

madness::TensorArgs::TensorArgs ( )
inline

References thresh, tt, and madness::TT_FULL.

◆ TensorArgs() [2/3]

madness::TensorArgs::TensorArgs ( const double & thresh1,
const TensorType & tt1 )
inline

References thresh, tt, and tt1.

◆ TensorArgs() [3/3]

madness::TensorArgs::TensorArgs ( const TensorType & tt1,
const double & thresh1 )
inline

References thresh, tt, and tt1.

Member Function Documentation

◆ serialize()

template<typename Archive>
void madness::TensorArgs::serialize ( const Archive & ar)
inline

References thresh, and tt.

◆ what_am_i()

std::string madness::TensorArgs::what_am_i ( const TensorType & tt)
inlinestatic

Member Data Documentation

◆ thresh

◆ tt


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