|
| | Cosh () |
| constexpr std::string | name_impl () const |
| bool | evaluate_impl (const Scalar x, Scalar &out) const |
| bool | first_derivative_impl (const Scalar x, Scalar &out) const |
| bool | second_derivative_impl (const Scalar x, Scalar &out) const |
| | Function () |
| constexpr std::string | name () const |
| bool | evaluate (const Scalar &x, Scalar &out) const |
| bool | jacobian (const Scalar &x, FirstDerivative &out) const |
| bool | hessian (const Scalar &x, SecondDerivative &out) const |
| | FunctionBase () |
| constexpr std::string | name () const |
| bool | evaluate (const Scalar &x, Scalar &out) const |
| bool | first_derivative (const Scalar &x, FirstDerivative &out) const |
| bool | second_derivative (const Scalar &x, SecondDerivative &out) const |
| constexpr Integer | input_dimension () const |
| constexpr Integer | output_dimension () const |
| const std::vector< Scalar > & | solutions () const |
| const std::vector< Scalar > & | guesses () const |
| const Scalar & | solution (const Integer i) const |
| const Scalar & | guess (const Integer i) const |
| bool | is_solution (const Scalar &x, const Scalar tol=FunctionBase::SQRT_EPSILON) const |
Class container for the hyperbolic cosine function, which is defined as:
\[f(x) = \cosh(x) = \displaystyle\frac{e^x + e^{-x}}{2} \text{.}
\]
The function has a minimum at \(x = 0\), with \(f(x) = 1\). The initial guesses are generated on the range \(x \in \left[-10,
10\right]\).
- Template Parameters
-
| Scalar | Floating-point number type. |