pub struct VectorValuedDifferentiation;Expand description
Vector-valued function differentiation (legacy compatibility wrapper)
Implementations§
Source§impl VectorValuedDifferentiation
impl VectorValuedDifferentiation
Sourcepub fn derivative(
components: &[Expression],
parameter: Symbol,
) -> Vec<Expression>
pub fn derivative( components: &[Expression], parameter: Symbol, ) -> Vec<Expression>
Compute derivative
Sourcepub fn second_derivative(
components: &[Expression],
parameter: Symbol,
) -> Vec<Expression>
pub fn second_derivative( components: &[Expression], parameter: Symbol, ) -> Vec<Expression>
Compute second derivative
Sourcepub fn nth_derivative(
components: &[Expression],
parameter: Symbol,
order: u32,
) -> Vec<Expression>
pub fn nth_derivative( components: &[Expression], parameter: Symbol, order: u32, ) -> Vec<Expression>
Compute nth derivative
Sourcepub fn magnitude(components: &[Expression]) -> Expression
pub fn magnitude(components: &[Expression]) -> Expression
Compute magnitude of vector
Sourcepub fn unit_tangent(
components: &[Expression],
parameter: Symbol,
) -> Vec<Expression>
pub fn unit_tangent( components: &[Expression], parameter: Symbol, ) -> Vec<Expression>
Compute unit tangent vector T = r’(t) / |r’(t)|
Sourcepub fn curvature(components: &[Expression], parameter: Symbol) -> Expression
pub fn curvature(components: &[Expression], parameter: Symbol) -> Expression
Compute curvature κ = |r’ × r’‘| / |r’|³
Sourcepub fn torsion(components: &[Expression], parameter: Symbol) -> Expression
pub fn torsion(components: &[Expression], parameter: Symbol) -> Expression
Compute torsion τ for 3D curves
Auto Trait Implementations§
impl Freeze for VectorValuedDifferentiation
impl RefUnwindSafe for VectorValuedDifferentiation
impl Send for VectorValuedDifferentiation
impl Sync for VectorValuedDifferentiation
impl Unpin for VectorValuedDifferentiation
impl UnwindSafe for VectorValuedDifferentiation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more