[][src]Struct peroxide::structure::hyper_dual::HyperDual

pub struct HyperDual { /* fields omitted */ }

Hyper Dual number

Description

For second order differentiation

Methods

impl HyperDual[src]

pub fn new<T: Into<f64> + Copy>(x: T, dx: T, ddx: T) -> Self[src]

pub fn value(&self) -> f64[src]

pub fn slope(&self) -> f64[src]

pub fn accel(&self) -> f64[src]

pub fn extract(&self) -> (f64, f64, f64)[src]

Trait Implementations

impl PowOps for HyperDual[src]

impl TrigOps for HyperDual[src]

impl ExpLogOps for HyperDual[src]

impl Real for HyperDual[src]

impl Printable for HyperDual[src]

impl Clone for HyperDual[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for HyperDual[src]

impl Copy for HyperDual[src]

impl Display for HyperDual[src]

impl Debug for HyperDual[src]

impl Div<HyperDual> for HyperDual[src]

type Output = Self

The resulting type after applying the / operator.

impl<'a, 'b> Div<&'b HyperDual> for &'a HyperDual[src]

type Output = HyperDual

The resulting type after applying the / operator.

impl Div<f64> for HyperDual[src]

type Output = Self

The resulting type after applying the / operator.

impl<'a> Div<f64> for &'a HyperDual[src]

type Output = HyperDual

The resulting type after applying the / operator.

impl Div<HyperDual> for f64[src]

type Output = HyperDual

The resulting type after applying the / operator.

impl Add<HyperDual> for HyperDual[src]

type Output = Self

The resulting type after applying the + operator.

impl<'a, 'b> Add<&'b HyperDual> for &'a HyperDual[src]

type Output = HyperDual

The resulting type after applying the + operator.

impl Add<f64> for HyperDual[src]

type Output = Self

The resulting type after applying the + operator.

impl<'a> Add<f64> for &'a HyperDual[src]

type Output = HyperDual

The resulting type after applying the + operator.

impl Add<HyperDual> for f64[src]

type Output = HyperDual

The resulting type after applying the + operator.

impl Sub<HyperDual> for HyperDual[src]

type Output = Self

The resulting type after applying the - operator.

impl<'a, 'b> Sub<&'b HyperDual> for &'a HyperDual[src]

type Output = HyperDual

The resulting type after applying the - operator.

impl Sub<f64> for HyperDual[src]

type Output = Self

The resulting type after applying the - operator.

impl<'a> Sub<f64> for &'a HyperDual[src]

type Output = HyperDual

The resulting type after applying the - operator.

impl Sub<HyperDual> for f64[src]

type Output = HyperDual

The resulting type after applying the - operator.

impl Mul<HyperDual> for HyperDual[src]

type Output = Self

The resulting type after applying the * operator.

impl<'a, 'b> Mul<&'b HyperDual> for &'a HyperDual[src]

type Output = HyperDual

The resulting type after applying the * operator.

impl Mul<f64> for HyperDual[src]

type Output = Self

The resulting type after applying the * operator.

impl<'a> Mul<f64> for &'a HyperDual[src]

type Output = HyperDual

The resulting type after applying the * operator.

impl Mul<HyperDual> for f64[src]

type Output = HyperDual

The resulting type after applying the * operator.

impl Neg for HyperDual[src]

type Output = Self

The resulting type after applying the - operator.

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> FromPy<T> for T[src]

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 
[src]