numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class of test problem to calculate exponential function. More...
#include <num_prob_collect/ode/exponential_problem.h>
Public Types | |
using | jacobian_type = double |
Type of Jacobian. | |
using | scalar_type = double |
Type of scalars. | |
using | variable_type = double |
Type of variables. | |
Public Member Functions | |
auto | diff_coeff () const -> const double & |
Get the differential coefficient. | |
void | evaluate_on (double, double variable, num_collect::ode::evaluation_type) |
Evaluate on a (time, variable) pair. | |
auto | jacobian () const noexcept -> const jacobian_type & |
Get the Jacobian. | |
Static Public Attributes | |
static constexpr auto | allowed_evaluations |
Allowed evaluations. | |
Private Attributes | |
double | diff_coeff_ {} |
Differential coefficient. | |
double | jacobian_ {1.0} |
Jacobian. | |
Class of test problem to calculate exponential function.
Definition at line 29 of file exponential_problem.h.
using num_prob_collect::ode::exponential_problem::jacobian_type = double |
Type of Jacobian.
Definition at line 38 of file exponential_problem.h.
using num_prob_collect::ode::exponential_problem::scalar_type = double |
Type of scalars.
Definition at line 35 of file exponential_problem.h.
using num_prob_collect::ode::exponential_problem::variable_type = double |
Type of variables.
Definition at line 32 of file exponential_problem.h.
|
inlinenodiscard |
Get the differential coefficient.
Definition at line 59 of file exponential_problem.h.
|
inline |
Evaluate on a (time, variable) pair.
[in] | variable | Variable. |
Definition at line 49 of file exponential_problem.h.
|
inlinenodiscardnoexcept |
|
staticconstexpr |
Allowed evaluations.
Definition at line 41 of file exponential_problem.h.
|
private |
Differential coefficient.
Definition at line 74 of file exponential_problem.h.
|
private |
Jacobian.
Definition at line 77 of file exponential_problem.h.