xerus
a general purpose tensor library
xerus::InternalSolver Class Reference

Public Member Functions

 InternalSolver (TTTensor &_x, const std::vector< std::vector< double >> &_randomVariables, const std::vector< Tensor > &_solutions)
 
void calc_left_stack (const size_t _corePosition)
 
double calc_residual_norm (const size_t _corePosition) const
 
void calc_right_stack (const size_t _corePosition)
 
Tensor calculate_delta (const size_t _corePosition) const
 
double calculate_norm_A_projGrad (const Tensor &_delta, const size_t _corePosition) const
 
void solve ()
 

Static Public Member Functions

static double calc_solutions_norm (const std::vector< Tensor > &_solutions)
 
static std::vector< std::vector< Tensor > > create_positions (const TTTensor &_x, const std::vector< std::vector< double >> &_randomVariables)
 

Detailed Description

Definition at line 54 of file uqAdf.cpp.

Constructor & Destructor Documentation

◆ InternalSolver()

xerus::InternalSolver::InternalSolver ( TTTensor _x,
const std::vector< std::vector< double >> &  _randomVariables,
const std::vector< Tensor > &  _solutions 
)
inline

Definition at line 95 of file uqAdf.cpp.

Member Function Documentation

◆ calc_left_stack()

void xerus::InternalSolver::calc_left_stack ( const size_t  _corePosition)
inline

Definition at line 110 of file uqAdf.cpp.

◆ calc_residual_norm()

double xerus::InternalSolver::calc_residual_norm ( const size_t  _corePosition) const
inline

Definition at line 268 of file uqAdf.cpp.

◆ calc_right_stack()

void xerus::InternalSolver::calc_right_stack ( const size_t  _corePosition)
inline

Definition at line 143 of file uqAdf.cpp.

◆ calc_solutions_norm()

static double xerus::InternalSolver::calc_solutions_norm ( const std::vector< Tensor > &  _solutions)
inlinestatic

Definition at line 85 of file uqAdf.cpp.

◆ calculate_delta()

Tensor xerus::InternalSolver::calculate_delta ( const size_t  _corePosition) const
inline

Definition at line 164 of file uqAdf.cpp.

◆ calculate_norm_A_projGrad()

double xerus::InternalSolver::calculate_norm_A_projGrad ( const Tensor _delta,
const size_t  _corePosition 
) const
inline

Definition at line 223 of file uqAdf.cpp.

◆ create_positions()

static std::vector<std::vector<Tensor> > xerus::InternalSolver::create_positions ( const TTTensor _x,
const std::vector< std::vector< double >> &  _randomVariables 
)
inlinestatic

Definition at line 72 of file uqAdf.cpp.

◆ solve()

void xerus::InternalSolver::solve ( )
inline

Definition at line 285 of file uqAdf.cpp.


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