Class of test problem of free fall in air resistance.
double scalar_type
Type of scalars.
static constexpr auto allowed_evaluations
Allowed evaluations.
Eigen::Vector2d variable_type
Type of variables.
free_fall_in_resistance_problem(scalar_type k, scalar_type g)
Constructor.
scalar_type k_
Coefficient of resistance.
variable_type diff_coeff_
Differential coefficient.
void evaluate_on(scalar_type, const variable_type &variable, num_collect::ode::evaluation_type)
Evaluate on a (time, variable) pair.
jacobian_type jacobian_
Jacobian.
Eigen::Matrix2d jacobian_type
Type of Jacobian.
auto jacobian() const noexcept -> const jacobian_type &
Get the Jacobian.
auto diff_coeff() const noexcept -> const variable_type &
Get the differential coefficient.
Definition of evaluation_type enumeration.
Namespace of ordinary differential equation problems.
Struct to specify types of evaluations.