numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class of limits of step sizes. More...
#include <num_collect/ode/step_size_limits.h>
Public Types | |
using | scalar_type = Scalar |
Type of scalars. | |
Public Member Functions | |
constexpr | step_size_limits ()=default |
Constructor. | |
auto | apply (scalar_type val) const -> scalar_type |
Apply the limit of this object. | |
auto | lower_limit () const -> const scalar_type & |
Get the lower limit. | |
auto | lower_limit (const scalar_type &val) -> step_size_limits & |
Set the lower limit. | |
auto | upper_limit () const -> const scalar_type & |
Get the upper limit. | |
auto | upper_limit (const scalar_type &val) -> step_size_limits & |
Set the upper limit. | |
Private Attributes | |
scalar_type | lower_limit_ {impl::default_step_size_lower_limit<scalar_type>} |
Lower limit. | |
scalar_type | upper_limit_ {impl::default_step_size_upper_limit<scalar_type>} |
Upper limit. | |
Class of limits of step sizes.
Scalar | Type of scalars. |
Definition at line 59 of file step_size_limits.h.
using num_collect::ode::step_size_limits< Scalar >::scalar_type = Scalar |
Type of scalars.
Definition at line 62 of file step_size_limits.h.
|
inlinenodiscard |
Apply the limit of this object.
[in] | val | Value to apply the limit. |
Definition at line 75 of file step_size_limits.h.
|
inlinenodiscard |
|
inline |
Set the lower limit.
[in] | val | Value. |
Definition at line 122 of file step_size_limits.h.
|
inlinenodiscard |
|
inline |
Set the upper limit.
[in] | val | Value. |
Definition at line 109 of file step_size_limits.h.
|
private |
Lower limit.
Definition at line 135 of file step_size_limits.h.
|
private |
Upper limit.
Definition at line 132 of file step_size_limits.h.