SG++-Doxygen-Documentation
|
#include <FloatTensorVector.hpp>
Public Member Functions | |
void | add (FloatTensorVector const &other) |
FloatScalarVector & | at (MultiIndex i) |
Returns a reference to the i-th FloatScalarVector stored. More... | |
void | componentwiseMult (FloatTensorVector const &other) |
FloatTensorVector (std::shared_ptr< TreeStorage< FloatScalarVector >> const &values) | |
FloatTensorVector (size_t d=0) | |
FloatTensorVector (FloatScalarVector scalar) | |
FloatTensorVector (FloatTensorVector const &other) | |
FloatScalarVector | get (MultiIndex i) |
This function can be called from python because it does not return a reference. More... | |
std::shared_ptr< TreeStorage< FloatScalarVector > > const & | getValues () const |
double | norm () const |
FloatTensorVector & | operator= (FloatTensorVector const &other) |
FloatScalarVector & | operator[] (MultiIndex i) |
Returns a reference to the i-th FloatScalarVector stored. More... | |
FloatScalarVector | operator[] (size_t i) |
This is an auxiliary function needed in FullGridQuadraticSummationStrategy. More... | |
void | scalarMult (double const &factor) |
void | sub (FloatTensorVector const &other) |
Static Public Member Functions | |
static FloatTensorVector | one () |
static FloatTensorVector | zero () |
|
explicit |
|
explicit |
|
explicit |
sgpp::combigrid::FloatTensorVector::FloatTensorVector | ( | FloatTensorVector const & | other | ) |
void sgpp::combigrid::FloatTensorVector::add | ( | FloatTensorVector const & | other | ) |
References python.statsfileInfo::i.
Referenced by getValues().
FloatScalarVector & sgpp::combigrid::FloatTensorVector::at | ( | MultiIndex | i | ) |
Returns a reference to the i-th FloatScalarVector stored.
If there are fewer elements stored, the number of elements is extended via ensureMinimumSize().
Referenced by getValues().
void sgpp::combigrid::FloatTensorVector::componentwiseMult | ( | FloatTensorVector const & | other | ) |
References sgpp::combigrid::FloatScalarVector::componentwiseMult(), scalarMult(), and sgpp::combigrid::FloatScalarVector::value().
Referenced by getValues().
FloatScalarVector sgpp::combigrid::FloatTensorVector::get | ( | MultiIndex | i | ) |
This function can be called from python because it does not return a reference.
Referenced by sgpp::combigrid::PolynomialChaosExpansion::mean(), and sgpp::combigrid::PolynomialChaosExpansion::variance().
|
inline |
References add(), at(), componentwiseMult(), python.statsfileInfo::i, norm(), operator[](), scalarMult(), and sub().
Referenced by python.data.DataContainer.DataContainer::combine(), sgpp::combigrid::PolynomialChaosExpansion::eval(), sgpp::combigrid::PolynomialStochasticCollocation::eval(), python.data.DataContainer.DataContainer::getDataSubsetByIndexList(), python.data.DataContainer.DataContainer::getPointsValues(), sgpp::combigrid::FirstMomentNormStrategy::norm(), sgpp::combigrid::SecondMomentNormStrategy::norm(), python.data.DataContainer.DataContainer::toString(), sgpp::combigrid::PolynomialChaosExpansion::variance(), sgpp::combigrid::FirstMomentNormStrategy::~FirstMomentNormStrategy(), and sgpp::combigrid::SecondMomentNormStrategy::~SecondMomentNormStrategy().
double sgpp::combigrid::FloatTensorVector::norm | ( | ) | const |
Referenced by getValues().
|
inlinestatic |
References FloatTensorVector().
FloatTensorVector & sgpp::combigrid::FloatTensorVector::operator= | ( | FloatTensorVector const & | other | ) |
FloatScalarVector & sgpp::combigrid::FloatTensorVector::operator[] | ( | MultiIndex | i | ) |
Returns a reference to the i-th FloatScalarVector stored.
If there are fewer elements stored, the number of elements is extended via ensureMinimumSize().
Referenced by getValues().
FloatScalarVector sgpp::combigrid::FloatTensorVector::operator[] | ( | size_t | i | ) |
This is an auxiliary function needed in FullGridQuadraticSummationStrategy.
References sgpp::combigrid::FloatScalarVector::zero().
void sgpp::combigrid::FloatTensorVector::scalarMult | ( | double const & | factor | ) |
Referenced by componentwiseMult(), and getValues().
void sgpp::combigrid::FloatTensorVector::sub | ( | FloatTensorVector const & | other | ) |
References python.statsfileInfo::i.
Referenced by getValues().
|
inlinestatic |
References FloatTensorVector().