InterpolateSolutionIV

Trait InterpolateSolutionIV 

Source
pub trait InterpolateSolutionIV<Y, Z, U, V>
where Y: Tensor, Z: Tensor, for<'a> &'a Y: Mul<Scalar, Output = Y> + Sub<&'a Y, Output = Y>, U: TensorVec<Item = Y>, V: TensorVec<Item = Z>,
{ // Required method fn interpolate( &self, time: &Vector, tp: &Vector, yp: &U, zp: &V, function: impl FnMut(Scalar, &Y, &Z) -> Result<Y, String>, evaluate: impl FnMut(Scalar, &Y, &Z) -> Result<Z, String>, ) -> Result<(U, U, V), IntegrationError>; }
Expand description

Solution interpolation schemes with internal variables.

Required Methods§

Source

fn interpolate( &self, time: &Vector, tp: &Vector, yp: &U, zp: &V, function: impl FnMut(Scalar, &Y, &Z) -> Result<Y, String>, evaluate: impl FnMut(Scalar, &Y, &Z) -> Result<Z, String>, ) -> Result<(U, U, V), IntegrationError>

Solution interpolation with internal variables.

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<Y, Z, U, V> InterpolateSolutionIV<Y, Z, U, V> for BogackiShampine
where Y: Tensor, Z: Tensor, for<'a> &'a Y: Mul<Scalar, Output = Y> + Sub<&'a Y, Output = Y>, U: TensorVec<Item = Y>, V: TensorVec<Item = Z>,