pub enum AD {
AD0(f64),
AD1(f64, f64),
AD2(f64, f64, f64),
}
Variants§
Implementations§
source§impl 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<'_> ⓘ
pub fn iter_mut(&mut self) -> ADIterMut<'_> ⓘ
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§
source§impl<'a> FromIterator<&'a f64> for AD
impl<'a> FromIterator<&'a f64> for AD
source§impl FromIterator<f64> for AD
impl FromIterator<f64> for AD
source§impl<'a> IntoIterator for &'a AD
impl<'a> IntoIterator for &'a AD
source§impl<'a> IntoIterator for &'a mut AD
impl<'a> IntoIterator for &'a mut AD
source§impl IntoIterator for AD
impl IntoIterator for AD
source§impl PartialOrd<AD> for AD
impl PartialOrd<AD> for AD
1.0.0 · source§fn 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