ImplicitDaeSecondOrderMinimize

Trait ImplicitDaeSecondOrderMinimize 

Source
pub trait ImplicitDaeSecondOrderMinimize<F, J, H, Y, U>
where Y: Tensor, U: TensorVec<Item = Y>,
{ // Required method fn integrate( &self, function: impl FnMut(Scalar, &Y, &Y) -> Result<F, String>, jacobian: impl FnMut(Scalar, &Y, &Y) -> Result<J, String>, hessian: impl FnMut(Scalar, &Y, &Y) -> Result<H, String>, solver: impl SecondOrderOptimization<F, J, H, Y>, time: &[Scalar], initial_condition: Y, equality_constraint: impl FnMut(Scalar) -> EqualityConstraint, banded: Option<Banded>, ) -> Result<(Vector, U, U), IntegrationError>; }

Required Methods§

Source

fn integrate( &self, function: impl FnMut(Scalar, &Y, &Y) -> Result<F, String>, jacobian: impl FnMut(Scalar, &Y, &Y) -> Result<J, String>, hessian: impl FnMut(Scalar, &Y, &Y) -> Result<H, String>, solver: impl SecondOrderOptimization<F, J, H, Y>, time: &[Scalar], initial_condition: Y, equality_constraint: impl FnMut(Scalar) -> EqualityConstraint, banded: Option<Banded>, ) -> Result<(Vector, U, U), IntegrationError>

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<F, J, H, Y, U> ImplicitDaeSecondOrderMinimize<F, J, H, Y, U> for BogackiShampine
where Y: Tensor, U: TensorVec<Item = Y>, for<'a> &'a Y: Mul<Scalar, Output = Y> + Sub<&'a Y, Output = Y>,

Source§

impl<F, J, H, Y, U> ImplicitDaeSecondOrderMinimize<F, J, H, Y, U> for DormandPrince
where Y: Tensor, U: TensorVec<Item = Y>, for<'a> &'a Y: Mul<Scalar, Output = Y> + Sub<&'a Y, Output = Y>,

Source§

impl<F, J, H, Y, U> ImplicitDaeSecondOrderMinimize<F, J, H, Y, U> for Verner8
where Y: Tensor, U: TensorVec<Item = Y>, for<'a> &'a Y: Mul<Scalar, Output = Y> + Sub<&'a Y, Output = Y>,

Source§

impl<F, J, H, Y, U> ImplicitDaeSecondOrderMinimize<F, J, H, Y, U> for Verner9
where Y: Tensor, U: TensorVec<Item = Y>, for<'a> &'a Y: Mul<Scalar, Output = Y> + Sub<&'a Y, Output = Y>,