Class container for the vector-valued function (both input and output are vectors).
More...
#include <Function.hh>
Inherits Optimist::FunctionBase< Input, Output, DerivedFunction >.
template<typename Input, typename Output, typename DerivedFunction>
class Optimist::Function< Input, Output, DerivedFunction >
- Template Parameters
-
| Input | Function input type. |
| Output | Function output type. |
| DerivedFunction | Derived function class. |
◆ Function()
template<typename Input, typename Output, typename DerivedFunction>
Class constructor for the vector-valued function.
◆ evaluate()
template<typename Input, typename Output, typename DerivedFunction>
| bool Optimist::Function< Input, Output, DerivedFunction >::evaluate |
( |
const Input & | x, |
|
|
Output & | out ) const |
|
inline |
Compute the function value at the input point.
- Parameters
-
| [in] | x | Input point. |
| [out] | out | The function value. |
- Returns
- The boolean flag for successful evaluation.
◆ hessian()
template<typename Input, typename Output, typename DerivedFunction>
Compute the function second derivative at the input point.
- Parameters
-
| [in] | x | Input point. |
| [out] | out | The function second derivative. |
- Returns
- The boolean flag for successful evaluation.
◆ jacobian()
template<typename Input, typename Output, typename DerivedFunction>
Compute the function first derivative at the input point.
- Parameters
-
| [in] | x | Input point. |
| [out] | out | The function first derivative. |
- Returns
- The boolean flag for successful evaluation.
◆ name()
template<typename Input, typename Output, typename DerivedFunction>
Get the function name.
- Returns
- The function name.
◆ FunctionBase< Input, Output, DerivedFunction >
template<typename Input, typename Output, typename DerivedFunction>
The documentation for this class was generated from the following file: