[−][src]Enum peroxide::traits::num::Number
Variants
F(f64)
D(Dual)
Trait Implementations
impl Add<Dual> for Number
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Dual) -> Self::Output
[src]
impl Add<Number> for Number
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self::Output
[src]
impl Add<Number> for f64
[src]
type Output = Number
The resulting type after applying the +
operator.
fn add(self, rhs: Number) -> Self::Output
[src]
impl Add<f64> for Number
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: f64) -> Self::Output
[src]
impl Clone for Number
[src]
impl Copy for Number
[src]
impl Debug for Number
[src]
impl Default for Number
[src]
impl Div<Dual> for Number
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Dual) -> Self::Output
[src]
impl Div<Number> for Number
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Self) -> Self::Output
[src]
impl Div<Number> for f64
[src]
type Output = Number
The resulting type after applying the /
operator.
fn div(self, rhs: Number) -> Self::Output
[src]
impl Div<f64> for Number
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: f64) -> Self::Output
[src]
impl ExpLogOps for Number
[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 Mul<Dual> for Number
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Dual) -> Self::Output
[src]
impl Mul<Number> for Number
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self::Output
[src]
impl Mul<Number> for f64
[src]
type Output = Number
The resulting type after applying the *
operator.
fn mul(self, rhs: Number) -> Self::Output
[src]
impl Mul<f64> for Number
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: f64) -> Self::Output
[src]
impl Neg for Number
[src]
type Output = Self
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
impl PartialEq<Number> for Number
[src]
impl PartialOrd<Number> for Number
[src]
fn partial_cmp(&self, other: &Number) -> Option<Ordering>
[src]
fn lt(&self, other: &Number) -> bool
[src]
fn le(&self, other: &Number) -> bool
[src]
fn gt(&self, other: &Number) -> bool
[src]
fn ge(&self, other: &Number) -> bool
[src]
impl PowOps for Number
[src]
fn powi(&self, n: i32) -> Self
[src]
fn powf(&self, f: f64) -> Self
[src]
fn pow(&self, f: Self) -> Self
[src]
fn sqrt(&self) -> Self
[src]
impl Printable for Number
[src]
impl Real for Number
[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 StructuralPartialEq for Number
[src]
impl Sub<Dual> for Number
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Dual) -> Self::Output
[src]
impl Sub<Number> for Number
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self::Output
[src]
impl Sub<Number> for f64
[src]
type Output = Number
The resulting type after applying the -
operator.
fn sub(self, rhs: Number) -> Self::Output
[src]
impl Sub<f64> for Number
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: f64) -> Self::Output
[src]
impl TrigOps for Number
[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]
Auto Trait Implementations
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
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,
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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,