39template <base::concepts::real_scalar Scalar>
47template <base::concepts::real_scalar Scalar>
58template <base::concepts::real_scalar Scalar>
111 "0 < lower_limit < upper_limit must be satisfied.");
125 "0 < lower_limit < upper_limit must be satisfied.");
Class of limits of step sizes.
Scalar scalar_type
Type of scalars.
constexpr step_size_limits()=default
Constructor.
auto lower_limit(const scalar_type &val) -> step_size_limits &
Set the lower limit.
auto apply(scalar_type val) const -> scalar_type
Apply the limit of this object.
scalar_type upper_limit_
Upper limit.
scalar_type lower_limit_
Lower limit.
auto upper_limit(const scalar_type &val) -> step_size_limits &
Set the upper limit.
auto lower_limit() const -> const scalar_type &
Get the lower limit.
auto upper_limit() const -> const scalar_type &
Get the upper limit.
Definition of exceptions.
Definition of macros for logging.
constexpr auto sqrt(F x) -> F
Calculate square root .
constexpr Scalar default_step_size_lower_limit
Default lower limit of the step size.
constexpr auto default_step_size_upper_limit
Default upper limit of the step size.
Namespace of solvers of ordinary differential equations (ODE).
Definition of NUM_COLLECT_PRECONDITION macro.
#define NUM_COLLECT_PRECONDITION(CONDITION,...)
Check whether a precondition is satisfied and throw an exception if not.
Definition of real_scalar concept.
Definition of sqrt function.