Variants
AD0(f64)
AD1(f64, f64)
AD2(f64, f64, f64)
Implementations
sourceimpl AD
impl AD
pub fn to_order(&self, n: usize) -> Self
pub fn order(&self) -> usize
pub fn len(&self) -> usize
pub fn iter(&self) -> ADIter<'_>ⓘNotable traits for ADIter<'a>impl<'a> Iterator for ADIter<'a> type Item = &'a f64;
pub fn iter_mut(&mut self) -> ADIterMut<'_>ⓘNotable traits for ADIterMut<'a>impl<'a> Iterator for ADIterMut<'a> type Item = &'a mut f64;
pub fn from_order(n: usize) -> Self
pub fn empty(&self) -> Self
pub fn set_x(&mut self, x: f64)
pub fn set_dx(&mut self, dx: f64)
pub fn set_ddx(&mut self, ddx: f64)
pub fn x(&self) -> f64
pub fn dx(&self) -> f64
pub fn ddx(&self) -> f64
pub fn x_ref(&self) -> Option<&f64>
pub fn dx_ref(&self) -> Option<&f64>
pub fn ddx_ref(&self) -> Option<&f64>
pub fn x_mut(&mut self) -> Option<&mut f64>
pub fn dx_mut(&mut self) -> Option<&mut f64>
pub fn ddx_mut(&mut self) -> Option<&mut f64>
Trait Implementations
sourceimpl<'a> FromIterator<&'a f64> for AD
impl<'a> FromIterator<&'a f64> for AD
sourcefn from_iter<T: IntoIterator<Item = &'a f64>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = &'a f64>>(iter: T) -> Self
Creates a value from an iterator. Read more
sourceimpl FromIterator<f64> for AD
impl FromIterator<f64> for AD
sourcefn from_iter<T: IntoIterator<Item = f64>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = f64>>(iter: T) -> Self
Creates a value from an iterator. Read more
sourceimpl IntoIterator for AD
impl IntoIterator for AD
sourceimpl<'a> IntoIterator for &'a AD
impl<'a> IntoIterator for &'a AD
sourceimpl<'a> IntoIterator for &'a mut AD
impl<'a> IntoIterator for &'a mut AD
sourceimpl PartialOrd<AD> for AD
impl PartialOrd<AD> for AD
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl TrigOps for AD
impl TrigOps for AD
fn sin_cos(&self) -> (Self, Self)
fn sinh_cosh(&self) -> (Self, Self)
fn asin(&self) -> Self
fn acos(&self) -> Self
fn atan(&self) -> Self
fn asinh(&self) -> Self
fn acosh(&self) -> Self
fn atanh(&self) -> Self
fn sin(&self) -> Self
fn cos(&self) -> Self
fn tan(&self) -> Self
fn sinh(&self) -> Self
fn cosh(&self) -> Self
fn tanh(&self) -> Self
fn asin_acos(&self) -> (Self, Self)
fn asinh_acosh(&self) -> (Self, Self)
impl Copy for AD
impl StructuralPartialEq for AD
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more