Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
Public Member Functions | |
DefaultMultiplication (const Function &f1, const Function &f2) | |
double | operator() (const double x) const override |
void | operator() (const std::vector< double > &xs, std::vector< double > &out) const override |
std::unique_ptr< Function > | clone () const override |
Private Attributes | |
std::unique_ptr< Function > | m_f1 |
std::unique_ptr< Function > | m_f2 |
Definition at line 50 of file function_tools.cpp.
|
inline |
Definition at line 52 of file function_tools.cpp.
|
inlineoverridevirtual |
Creates a clone of the function object. All subclasses must implement this method, to enable copying of Function objects when only a reference to the Function class is available.
Implements Euclid::MathUtils::NAryFunction< N >.
Definition at line 63 of file function_tools.cpp.
Definition at line 54 of file function_tools.cpp.
|
inlineoverride |
Definition at line 58 of file function_tools.cpp.
References std::vector< T >::begin(), std::array< T >::begin(), std::cref(), std::array< T >::end(), std::vector< T >::resize(), std::array< T >::size(), and std::transform().
|
private |
Definition at line 68 of file function_tools.cpp.
Referenced by clone(), and operator()().
|
private |
Definition at line 69 of file function_tools.cpp.
Referenced by clone(), and operator()().