[−][src]Struct peroxide::structure::hyper_dual::HyperDual
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]
fn sin(&self) -> Self
[src]
fn cos(&self) -> Self
[src]
fn tan(&self) -> Self
[src]
fn asin(&self) -> Self
[src]
fn acos(&self) -> Self
[src]
fn atan(&self) -> Self
[src]
fn sinh(&self) -> Self
[src]
fn cosh(&self) -> Self
[src]
fn tanh(&self) -> Self
[src]
fn asinh(&self) -> Self
[src]
fn acosh(&self) -> Self
[src]
fn atanh(&self) -> Self
[src]
fn sin_cos(&self) -> (Self, Self)
[src]
impl ExpLogOps for HyperDual
[src]
fn exp(&self) -> Self
[src]
fn ln(&self) -> Self
[src]
fn log(&self, base: f64) -> Self
[src]
fn log2(&self) -> Self
[src]
fn log10(&self) -> Self
[src]
impl Real for HyperDual
[src]
fn to_f64(&self) -> f64
[src]
fn from_f64(f: f64) -> Self
[src]
fn to_dual(&self) -> Dual
[src]
fn from_dual(d: Dual) -> Self
[src]
fn to_hyper_dual(&self) -> HyperDual
[src]
fn from_hyper_dual(h: HyperDual) -> Self
[src]
impl Printable for HyperDual
[src]
impl Clone for HyperDual
[src]
fn clone(&self) -> 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 Add<HyperDual> for HyperDual
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: HyperDual) -> Self::Output
[src]
impl<'a, 'b> Add<&'b HyperDual> for &'a HyperDual
[src]
type Output = HyperDual
The resulting type after applying the +
operator.
fn add(self, rhs: &HyperDual) -> Self::Output
[src]
impl Add<f64> for HyperDual
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: f64) -> Self::Output
[src]
impl<'a> Add<f64> for &'a HyperDual
[src]
type Output = HyperDual
The resulting type after applying the +
operator.
fn add(self, rhs: f64) -> Self::Output
[src]
impl Add<HyperDual> for f64
[src]
type Output = HyperDual
The resulting type after applying the +
operator.
fn add(self, rhs: HyperDual) -> Self::Output
[src]
impl Sub<HyperDual> for HyperDual
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: HyperDual) -> Self::Output
[src]
impl<'a, 'b> Sub<&'b HyperDual> for &'a HyperDual
[src]
type Output = HyperDual
The resulting type after applying the -
operator.
fn sub(self, rhs: &HyperDual) -> Self::Output
[src]
impl Sub<f64> for HyperDual
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: f64) -> Self::Output
[src]
impl<'a> Sub<f64> for &'a HyperDual
[src]
type Output = HyperDual
The resulting type after applying the -
operator.
fn sub(self, rhs: f64) -> Self::Output
[src]
impl Sub<HyperDual> for f64
[src]
type Output = HyperDual
The resulting type after applying the -
operator.
fn sub(self, rhs: HyperDual) -> Self::Output
[src]
impl Mul<HyperDual> for HyperDual
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self::Output
[src]
impl<'a, 'b> Mul<&'b HyperDual> for &'a HyperDual
[src]
type Output = HyperDual
The resulting type after applying the *
operator.
fn mul(self, rhs: &HyperDual) -> Self::Output
[src]
impl Mul<f64> for HyperDual
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: f64) -> Self::Output
[src]
impl<'a> Mul<f64> for &'a HyperDual
[src]
type Output = HyperDual
The resulting type after applying the *
operator.
fn mul(self, rhs: f64) -> Self::Output
[src]
impl Mul<HyperDual> for f64
[src]
type Output = HyperDual
The resulting type after applying the *
operator.
fn mul(self, rhs: HyperDual) -> Self::Output
[src]
impl Div<HyperDual> for HyperDual
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Self) -> Self::Output
[src]
impl<'a, 'b> Div<&'b HyperDual> for &'a HyperDual
[src]
type Output = HyperDual
The resulting type after applying the /
operator.
fn div(self, rhs: &HyperDual) -> Self::Output
[src]
impl Div<f64> for HyperDual
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: f64) -> Self::Output
[src]
impl<'a> Div<f64> for &'a HyperDual
[src]
type Output = HyperDual
The resulting type after applying the /
operator.
fn div(self, rhs: f64) -> Self::Output
[src]
impl Div<HyperDual> for f64
[src]
type Output = HyperDual
The resulting type after applying the /
operator.
fn div(self, rhs: HyperDual) -> Self::Output
[src]
impl Neg for HyperDual
[src]
Auto Trait Implementations
impl Send for HyperDual
impl Unpin for HyperDual
impl Sync for HyperDual
impl RefUnwindSafe for HyperDual
impl UnwindSafe for HyperDual
Blanket Implementations
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.
fn to_owned(&self) -> T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> FromPy<T> for T
[src]
impl<T, U> IntoPy<U> for T where
U: FromPy<T>,
[src]
U: FromPy<T>,