Skip to main content

ToleranceConfig

Trait ToleranceConfig 

Source
pub trait ToleranceConfig<T: Real> {
    // Required methods
    fn rtol<V: Into<Tolerance<T>>>(self, rtol: V) -> Self;
    fn atol<V: Into<Tolerance<T>>>(self, atol: V) -> Self;
}
Expand description

Trait to allow configuring tolerances on numerical methods generically.

Required Methods§

Source

fn rtol<V: Into<Tolerance<T>>>(self, rtol: V) -> Self

Source

fn atol<V: Into<Tolerance<T>>>(self, atol: V) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<E, F, T: Real, Y: State<T>, const O: usize, const S: usize, const I: usize> ToleranceConfig<T> for DiagonallyImplicitRungeKutta<E, F, T, Y, O, S, I>

Source§

impl<E, F, T: Real, Y: State<T>, const O: usize, const S: usize, const I: usize> ToleranceConfig<T> for ExplicitRungeKutta<E, F, T, Y, O, S, I>

Source§

impl<E, F, T: Real, Y: State<T>, const O: usize, const S: usize, const I: usize> ToleranceConfig<T> for ImplicitRungeKutta<E, F, T, Y, O, S, I>

Source§

impl<M, T> ToleranceConfig<T> for MultipleShooting<M>
where T: Real, M: ToleranceConfig<T>,

Source§

impl<M, T> ToleranceConfig<T> for SingleShooting<M>
where T: Real, M: ToleranceConfig<T>,