pub trait Manifold: AutoDiffManifold<f64> + AutoDiffManifold<DualDVec64> {
// Required method
fn tangent_size(&self) -> NonZero<usize>;
// Provided methods
fn plus_f64(
&self,
x: DVectorView<'_, f64>,
delta: DVectorView<'_, f64>,
) -> DVector<f64> { ... }
fn plus_dual(
&self,
x: DVectorView<'_, DualDVec64>,
delta: DVectorView<'_, DualDVec64>,
) -> DVector<DualDVec64> { ... }
fn minus_f64(
&self,
y: DVectorView<'_, f64>,
x: DVectorView<'_, f64>,
) -> DVector<f64> { ... }
fn minus_dual(
&self,
y: DVectorView<'_, DualDVec64>,
x: DVectorView<'_, DualDVec64>,
) -> DVector<DualDVec64> { ... }
}Required Methods§
fn tangent_size(&self) -> NonZero<usize>
Provided Methods§
fn plus_f64( &self, x: DVectorView<'_, f64>, delta: DVectorView<'_, f64>, ) -> DVector<f64>
fn plus_dual( &self, x: DVectorView<'_, DualDVec64>, delta: DVectorView<'_, DualDVec64>, ) -> DVector<DualDVec64>
fn minus_f64( &self, y: DVectorView<'_, f64>, x: DVectorView<'_, f64>, ) -> DVector<f64>
fn minus_dual( &self, y: DVectorView<'_, DualDVec64>, x: DVectorView<'_, DualDVec64>, ) -> DVector<DualDVec64>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".