Enum peroxide::structure::ad::AD[][src]

pub enum AD {
    AD0(f64),
    AD1(f64f64),
    AD2(f64f64f64),
}

Variants

AD0(f64)
AD1(f64f64)
AD2(f64f64f64)

Implementations

impl AD[src]

pub fn to_order(&self, n: usize) -> Self[src]

pub fn order(&self) -> usize[src]

pub fn len(&self) -> usize[src]

pub fn iter(&self) -> ADIter<'_>

Notable traits for ADIter<'a>

impl<'a> Iterator for ADIter<'a> type Item = &'a f64;
[src]

pub fn iter_mut(&mut self) -> ADIterMut<'_>

Notable traits for ADIterMut<'a>

impl<'a> Iterator for ADIterMut<'a> type Item = &'a mut f64;
[src]

pub fn from_order(n: usize) -> Self[src]

pub fn empty(&self) -> Self[src]

pub fn set_x(&mut self, x: f64)[src]

pub fn set_dx(&mut self, dx: f64)[src]

pub fn set_ddx(&mut self, ddx: f64)[src]

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

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

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

pub fn x_ref(&self) -> Option<&f64>[src]

pub fn dx_ref(&self) -> Option<&f64>[src]

pub fn ddx_ref(&self) -> Option<&f64>[src]

pub fn x_mut(&mut self) -> Option<&mut f64>[src]

pub fn dx_mut(&mut self) -> Option<&mut f64>[src]

pub fn ddx_mut(&mut self) -> Option<&mut f64>[src]

Trait Implementations

impl Add<AD> for AD[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<f64> for AD[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for AD[src]

impl Copy for AD[src]

impl Debug for AD[src]

impl Display for AD[src]

impl Div<AD> for AD[src]

type Output = Self

The resulting type after applying the / operator.

impl Div<f64> for AD[src]

type Output = Self

The resulting type after applying the / operator.

impl ExpLogOps for AD[src]

impl From<f64> for AD[src]

impl<'a> FromIterator<&'a f64> for AD[src]

impl FromIterator<f64> for AD[src]

impl Index<usize> for AD[src]

type Output = f64

The returned type after indexing.

impl IndexMut<usize> for AD[src]

impl IntoIterator for AD[src]

type Item = f64

The type of the elements being iterated over.

type IntoIter = ADIntoIter

Which kind of iterator are we turning this into?

impl<'a> IntoIterator for &'a AD[src]

type Item = &'a f64

The type of the elements being iterated over.

type IntoIter = ADIter<'a>

Which kind of iterator are we turning this into?

impl<'a> IntoIterator for &'a mut AD[src]

type Item = &'a mut f64

The type of the elements being iterated over.

type IntoIter = ADIterMut<'a>

Which kind of iterator are we turning this into?

impl Mul<AD> for AD[src]

type Output = Self

The resulting type after applying the * operator.

impl Mul<f64> for AD[src]

type Output = Self

The resulting type after applying the * operator.

impl Neg for AD[src]

type Output = Self

The resulting type after applying the - operator.

impl PartialEq<AD> for AD[src]

impl PartialOrd<AD> for AD[src]

impl PowOps for AD[src]

impl Printable for AD[src]

impl Real for AD[src]

impl<F: Fn(AD) -> AD> StableFn<AD> for ADFn<F>[src]

type Output = AD

impl StructuralPartialEq for AD[src]

impl Sub<AD> for AD[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<f64> for AD[src]

type Output = Self

The resulting type after applying the - operator.

impl TrigOps for AD[src]

Auto Trait Implementations

impl RefUnwindSafe for AD

impl Send for AD

impl Sync for AD

impl Unpin for AD

impl UnwindSafe for AD

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,