[−][src]Enum peroxide::structure::ad::AD
Variants
AD0(f64)
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<'_>ⓘ
[src]
pub fn iter_mut(&mut self) -> ADIterMut<'_>ⓘ
[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.
pub fn add(self, rhs: AD) -> Self::Output
[src]
impl Add<f64> for AD
[src]
type Output = Self
The resulting type after applying the +
operator.
pub fn add(self, rhs: f64) -> Self::Output
[src]
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.
pub fn div(self, rhs: AD) -> Self::Output
[src]
impl Div<f64> for AD
[src]
type Output = Self
The resulting type after applying the /
operator.
pub fn div(self, rhs: f64) -> Self::Output
[src]
impl ExpLogOps for AD
[src]
pub fn exp(&self) -> Self
[src]
pub fn ln(&self) -> Self
[src]
pub fn log(&self, base: f64) -> Self
[src]
pub fn log2(&self) -> Self
[src]
pub fn log10(&self) -> Self
[src]
impl From<f64> for AD
[src]
impl<'a> FromIterator<&'a f64> for AD
[src]
pub fn from_iter<T: IntoIterator<Item = &'a f64>>(iter: T) -> Self
[src]
impl FromIterator<f64> for AD
[src]
pub fn from_iter<T: IntoIterator<Item = f64>>(iter: T) -> Self
[src]
impl Index<usize> for AD
[src]
type Output = f64
The returned type after indexing.
pub fn index(&self, index: usize) -> &Self::Output
[src]
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?
pub fn into_iter(self) -> Self::IntoIter
[src]
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?
pub fn into_iter(self) -> Self::IntoIter
[src]
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?
pub fn into_iter(self) -> Self::IntoIter
[src]
impl Mul<AD> for AD
[src]
type Output = Self
The resulting type after applying the *
operator.
pub fn mul(self, rhs: AD) -> Self::Output
[src]
impl Mul<f64> for AD
[src]
type Output = Self
The resulting type after applying the *
operator.
pub fn mul(self, rhs: f64) -> Self::Output
[src]
impl Neg for AD
[src]
type Output = Self
The resulting type after applying the -
operator.
pub fn neg(self) -> Self::Output
[src]
impl PartialEq<AD> for AD
[src]
impl PartialOrd<AD> for AD
[src]
pub fn partial_cmp(&self, other: &AD) -> Option<Ordering>
[src]
pub fn lt(&self, other: &AD) -> bool
[src]
pub fn le(&self, other: &AD) -> bool
[src]
pub fn gt(&self, other: &AD) -> bool
[src]
pub fn ge(&self, other: &AD) -> bool
[src]
impl PowOps for AD
[src]
pub fn powi(&self, n: i32) -> Self
[src]
pub fn powf(&self, f: f64) -> Self
[src]
pub fn pow(&self, y: Self) -> Self
[src]
pub fn sqrt(&self) -> Self
[src]
impl Printable for AD
[src]
impl Real for AD
[src]
impl<F: Fn(AD) -> AD> StableFn<AD> for ADFn<F>
[src]
impl StructuralPartialEq for AD
[src]
impl Sub<AD> for AD
[src]
type Output = Self
The resulting type after applying the -
operator.
pub fn sub(self, rhs: AD) -> Self::Output
[src]
impl Sub<f64> for AD
[src]
type Output = Self
The resulting type after applying the -
operator.
pub fn sub(self, rhs: f64) -> Self::Output
[src]
impl TrigOps for AD
[src]
pub fn sin_cos(&self) -> (Self, Self)
[src]
pub fn sinh_cosh(&self) -> (Self, Self)
[src]
pub fn asin(&self) -> Self
[src]
pub fn acos(&self) -> Self
[src]
pub fn atan(&self) -> Self
[src]
pub fn asinh(&self) -> Self
[src]
pub fn acosh(&self) -> Self
[src]
pub fn atanh(&self) -> Self
[src]
pub fn sin(&self) -> Self
[src]
pub fn cos(&self) -> Self
[src]
pub fn tan(&self) -> Self
[src]
pub fn sinh(&self) -> Self
[src]
pub fn cosh(&self) -> Self
[src]
pub fn tanh(&self) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for AD
[src]
impl Send for AD
[src]
impl Sync for AD
[src]
impl Unpin for AD
[src]
impl UnwindSafe for AD
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,