SG++-Doxygen-Documentation
|
This class models a single scalar supporting operations such as addition, scalar multiplication and componentwise muliplication. More...
#include <FloatScalarVector.hpp>
Public Member Functions | |
void | add (FloatScalarVector const &other) |
void | componentwiseMult (FloatScalarVector const &other) |
FloatScalarVector () | |
FloatScalarVector (double const &value) | |
FloatScalarVector (std::shared_ptr< TreeStorage< FloatScalarVector >> storage) | |
FloatScalarVector (FloatScalarVector const &other) | |
double | getValue () const |
double | norm () const |
FloatScalarVector & | operator= (FloatScalarVector const &other) |
FloatScalarVector & | operator= (double const &value) |
FloatScalarVector const | operator[] (size_t i) const |
void | scalarMult (double const &factor) |
void | sub (FloatScalarVector const &other) |
double const & | value () const |
double & | value () |
Static Public Member Functions | |
static FloatScalarVector | one () |
static FloatScalarVector | zero () |
This class models a single scalar supporting operations such as addition, scalar multiplication and componentwise muliplication.
It is intended to have the same interface as FloatArrayVector. Thus, one can use the same code for single-evaluation and multi-evaluation, where the mode is controlled by passing FloatArrayVector or FloatScalarVector as a template parameter.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Referenced by sgpp::combigrid::FloatTensorVector::componentwiseMult().
|
inline |
|
inline |
|
inlinestatic |
References FloatScalarVector().
|
inline |
|
inline |
References value().
|
inline |
References sgpp::combigrid::operator<<(), and sgpp::combigrid::operator>>().
|
inline |
|
inline |
|
inline |
Referenced by sgpp::combigrid::FloatTensorVector::componentwiseMult(), operator=(), sgpp::combigrid::CubicSplineInterpolationEvaluator::setParameter(), sgpp::combigrid::BSplineInterpolationEvaluator::setParameter(), sgpp::combigrid::LinearInterpolationEvaluator::setParameter(), sgpp::combigrid::PolynomialInterpolationEvaluator::setParameter(), and sgpp::combigrid::PolynomialChaosExpansion::variance().
|
inline |
|
inlinestatic |
References FloatScalarVector().
Referenced by sgpp::combigrid::FloatTensorVector::operator[]().