numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class of test function with two cubic functions. More...
#include <num_prob_collect/roots/double_cubic_test_function.h>
Public Types | |
using | jacobian_type = Eigen::Matrix2d |
Type of Jacobian matrices. | |
using | variable_type = Eigen::Vector2d |
Type of variables. | |
Public Member Functions | |
void | evaluate_on (const variable_type &variable) |
Evaluate on a variable. | |
auto | jacobian () const noexcept -> const jacobian_type & |
Get Jacobian matrix. | |
auto | value () const noexcept -> const variable_type & |
Get function value. | |
Private Attributes | |
jacobian_type | jacobian_ {} |
Jacobian matrix. | |
variable_type | value_ {} |
Function value. | |
Class of test function with two cubic functions.
Solution is [3, 2].
Definition at line 31 of file double_cubic_test_function.h.
using num_prob_collect::roots::double_cubic_test_function::jacobian_type = Eigen::Matrix2d |
Type of Jacobian matrices.
Definition at line 37 of file double_cubic_test_function.h.
using num_prob_collect::roots::double_cubic_test_function::variable_type = Eigen::Vector2d |
Type of variables.
Definition at line 34 of file double_cubic_test_function.h.
|
inline |
Evaluate on a variable.
[in] | variable | Variable. |
Definition at line 44 of file double_cubic_test_function.h.
|
inlinenodiscardnoexcept |
Get Jacobian matrix.
Definition at line 69 of file double_cubic_test_function.h.
|
inlinenodiscardnoexcept |
Get function value.
Definition at line 60 of file double_cubic_test_function.h.
|
private |
Jacobian matrix.
Definition at line 78 of file double_cubic_test_function.h.
|
private |
Function value.
Definition at line 75 of file double_cubic_test_function.h.