|
| EvaluableLinearCombination (const std::vector< Coefficient > &coefficients, const std::vector< FunctionType > &functions) |
|
| EvaluableLinearCombination () |
|
| EvaluableLinearCombination (const Coefficient coefficient, const FunctionType &function) |
|
| EvaluableLinearCombination (const FunctionType &function) |
|
| EvaluableLinearCombination (const int zero) |
|
Self & | operator+= (const Self &rhs) override |
|
Self & | operator*= (const Coefficient &a) override |
|
std::string | description () const |
|
size_t | length () const |
|
const Coefficient & | coefficient (const size_t i) const |
|
const std::vector< Coefficient > & | coefficients () const |
|
const FunctionType & | function (const size_t i) const |
|
const std::vector< FunctionType > & | functions () const |
|
OutputType | operator() (const InputType &in) const override |
|
bool | operator== (const Self &other) const |
|
void | append (const Coefficient &coefficient, const FunctionType &function) |
|
void | appendWithThreshold (const Coefficient &coefficient, const FunctionType &function, const double threshold=1.0e-16) |
|
void | append (const std::vector< Coefficient > &coefficients, const std::vector< FunctionType > &functions) |
|
virtual | ~Function ()=default |
|
virtual OutputType | operator() (const InputType &in) const=0 |
|
virtual EvaluableLinearCombination< _Coefficient, _FunctionType > & | operator+= (const EvaluableLinearCombination< _Coefficient, _FunctionType > &rhs)=0 |
|
virtual EvaluableLinearCombination< _Coefficient, _FunctionType > & | operator*= (const _Coefficient &a)=0 |
|
EvaluableLinearCombination< _Coefficient, _FunctionType > & | operator-= (const EvaluableLinearCombination< _Coefficient, _FunctionType > &rhs) |
|
EvaluableLinearCombination< _Coefficient, _FunctionType > | operator- () const |
|
Derived & | derived () |
|
const Derived & | derived () const |
|
template<typename _Coefficient, typename _FunctionType>
class GQCP::EvaluableLinearCombination< _Coefficient, _FunctionType >
A type that represents a linear combination of (homogeneous) mathematical functions.
- Template Parameters
-
_Coefficient | The type of a coefficient. |
_FunctionType | The type of the function. |
- Note
- The type of the functions must derive from GQCP::Function, i.e. it must be evaluable.