numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class of test function to calculate cubic root of a number. More...
#include <num_prob_collect/roots/cubic_root_test_function.h>
Public Types | |
using | jacobian_type = double |
Type of Jacobian. | |
using | variable_type = double |
Type of variables. | |
Public Member Functions | |
cubic_root_test_function (variable_type target) | |
Constructor. | |
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 | target_ |
Value to calculate cubic root of. | |
variable_type | value_ {} |
Function value. | |
Class of test function to calculate cubic root of a number.
Definition at line 27 of file cubic_root_test_function.h.
Type of Jacobian.
Definition at line 33 of file cubic_root_test_function.h.
Type of variables.
Definition at line 30 of file cubic_root_test_function.h.
|
inlineexplicit |
Constructor.
[in] | target | Value to calculate cubic root of. |
Definition at line 40 of file cubic_root_test_function.h.
|
inline |
Evaluate on a variable.
[in] | variable | Variable. |
Definition at line 47 of file cubic_root_test_function.h.
|
inlinenodiscardnoexcept |
Get Jacobian matrix.
Definition at line 66 of file cubic_root_test_function.h.
|
inlinenodiscardnoexcept |
Get function value.
Definition at line 57 of file cubic_root_test_function.h.
|
private |
Jacobian matrix.
Definition at line 78 of file cubic_root_test_function.h.
|
private |
Value to calculate cubic root of.
Definition at line 72 of file cubic_root_test_function.h.
|
private |
Function value.
Definition at line 75 of file cubic_root_test_function.h.