[−][src]Struct peroxide::structure::hyper_dual::HyperDual
Methods
impl HyperDual
[src]
pub fn new<T: Into<f64> + Copy>(x: T, dx: T, ddx: T) -> HyperDual
[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 Printable for HyperDual
[src]
impl PowOps for HyperDual
[src]
type Output = HyperDual
fn pow(&self, n: usize) -> Self::Output
[src]
fn powf(&self, f: f64) -> Self::Output
[src]
fn sqrt(&self) -> Self::Output
[src]
impl TrigOps for HyperDual
[src]
type Output = HyperDual
fn sin(&self) -> Self::Output
[src]
fn cos(&self) -> Self::Output
[src]
fn tan(&self) -> Self::Output
[src]
impl ExpLogOps for HyperDual
[src]
impl Copy for HyperDual
[src]
impl Clone for HyperDual
[src]
fn clone(&self) -> HyperDual
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for HyperDual
[src]
impl Debug for HyperDual
[src]
impl Add<HyperDual> for 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 = 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 = HyperDual
The resulting type after applying the -
operator.
fn sub(self, rhs: HyperDual) -> Self::Output
[src]
impl Sub<f64> for 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 = HyperDual
The resulting type after applying the *
operator.
fn mul(self, rhs: HyperDual) -> Self::Output
[src]
impl Mul<f64> for 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 = HyperDual
The resulting type after applying the /
operator.
fn div(self, rhs: HyperDual) -> Self::Output
[src]
impl Div<f64> for 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]
type Output = HyperDual
The resulting type after applying the -
operator.
fn neg(self) -> HyperDual
[src]
impl Display for HyperDual
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,