pub trait InterpolateSolution<Y, U>where
Y: Tensor + TensorArray,
for<'a> &'a Y: Mul<TensorRank0, Output = Y> + Sub<&'a Y, Output = Y>,
U: TensorVec<Item = Y>,{
// Required method
fn interpolate(
&self,
time: &Vector,
tp: &Vector,
yp: &U,
function: impl Fn(TensorRank0, &Y) -> Result<Y, IntegrationError>,
) -> Result<U, IntegrationError>;
}
Expand description
Solution interpolation schemes.
Required Methods§
Sourcefn interpolate(
&self,
time: &Vector,
tp: &Vector,
yp: &U,
function: impl Fn(TensorRank0, &Y) -> Result<Y, IntegrationError>,
) -> Result<U, IntegrationError>
fn interpolate( &self, time: &Vector, tp: &Vector, yp: &U, function: impl Fn(TensorRank0, &Y) -> Result<Y, IntegrationError>, ) -> Result<U, IntegrationError>
Solution interpolation.
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.