pub trait DualVector<S, V>{
// Required method
fn to_dual_vector(self) -> V::GenericVector<Dual>;
}
Expand description
Trait to create a vector of dual numbers.
Required Methods§
Sourcefn to_dual_vector(self) -> V::GenericVector<Dual>
fn to_dual_vector(self) -> V::GenericVector<Dual>
Convert this vector of scalars to a vector of dual numbers.
§Returns
A copy of this vector with each element converted to a dual number (with dual part 0.0
).