numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class of Legendre function to use with num_collect::roots::newton_raphson class. More...
#include <num_collect/functions/legendre_roots.h>
Public Types | |
using | jacobian_type = T |
Type of Jacobians. | |
using | variable_type = T |
Type of variables. | |
Public Member Functions | |
legendre_for_newton (index_type degree) | |
Constructor. | |
void | evaluate_on (const variable_type &variable) |
Evaluate on a variable. | |
auto | jacobian () const noexcept -> const jacobian_type & |
Get Jacobian. | |
auto | value () const noexcept -> const variable_type & |
Get function value. | |
Private Attributes | |
index_type | degree_ |
Degree of Legendre function. | |
jacobian_type | jacobian_ {} |
Jacobian matrix. | |
variable_type | value_ {} |
Function value. | |
Class of Legendre function to use with num_collect::roots::newton_raphson class.
T | Type of variable. |
Definition at line 50 of file legendre_roots.h.
using num_collect::functions::impl::legendre_for_newton< T >::jacobian_type = T |
Type of Jacobians.
Definition at line 56 of file legendre_roots.h.
using num_collect::functions::impl::legendre_for_newton< T >::variable_type = T |
Type of variables.
Definition at line 53 of file legendre_roots.h.
|
inlineexplicit |
Constructor.
[in] | degree | Degree of Legendre function. |
Definition at line 63 of file legendre_roots.h.
|
inline |
Evaluate on a variable.
[in] | variable | Variable. |
Definition at line 73 of file legendre_roots.h.
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
private |
Degree of Legendre function.
Definition at line 97 of file legendre_roots.h.
|
private |
Jacobian matrix.
Definition at line 103 of file legendre_roots.h.
|
private |
Function value.
Definition at line 100 of file legendre_roots.h.