pub trait Jacobianwhere
Self: From<Vector> + Tensor + Sub<Vector, Output = Self> + for<'a> Sub<&'a Vector, Output = Self>,{
// Required methods
fn fill_into(&self, vector: &mut Vector);
fn fill_into_chained(self, other: Vector, vector: &mut Vector);
// Provided methods
fn retain_from(self, _retained: &[bool]) -> Vector { ... }
fn zero_out(&mut self, _indices: &[usize]) { ... }
}Expand description
Common methods for Jacobians.
Required Methods§
Sourcefn fill_into_chained(self, other: Vector, vector: &mut Vector)
fn fill_into_chained(self, other: Vector, vector: &mut Vector)
Fills the Jacobian chained with a vector into another vector.
Provided Methods§
Sourcefn retain_from(self, _retained: &[bool]) -> Vector
fn retain_from(self, _retained: &[bool]) -> Vector
Return only the retained indices.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".