Struct peroxide::traits::pointer::Redox[][src]

pub struct Redox<T: Vector> { /* fields omitted */ }

Trait Implementations

impl<T: Vector> Add<Redox<T>> for Redox<T>[src]

type Output = Self

The resulting type after applying the + operator.

fn add(self, rhs: Redox<T>) -> Self::Output[src]

Performs the + operation. Read more

impl<T: Vector + FPVector> Add<f64> for Redox<T> where
    <T as FPVector>::Scalar: Add<f64, Output = <T as FPVector>::Scalar>, 
[src]

type Output = Self

The resulting type after applying the + operator.

fn add(self, rhs: f64) -> Self::Output[src]

Performs the + operation. Read more

impl<T: Debug + Vector> Debug for Redox<T>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<T: Vector> Deref for Redox<T>[src]

type Target = T

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

impl<T: Vector + FPVector> Div<Redox<T>> for Redox<T> where
    <T as FPVector>::Scalar: Div<Output = <T as FPVector>::Scalar>, 
[src]

type Output = Self

The resulting type after applying the / operator.

fn div(self, rhs: Redox<T>) -> Self::Output[src]

Performs the / operation. Read more

impl<T: Vector + FPVector> Div<f64> for Redox<T> where
    <T as FPVector>::Scalar: Div<f64, Output = <T as FPVector>::Scalar>, 
[src]

type Output = Self

The resulting type after applying the / operator.

fn div(self, rhs: f64) -> Self::Output[src]

Performs the / operation. Read more

impl<T: Vector + FPVector> Mul<Redox<T>> for Redox<T> where
    <T as FPVector>::Scalar: Mul<Output = <T as FPVector>::Scalar>, 
[src]

type Output = Self

The resulting type after applying the * operator.

fn mul(self, rhs: Redox<T>) -> Self::Output[src]

Performs the * operation. Read more

impl Mul<Redox<Vec<f64, Global>>> for Matrix[src]

type Output = Redox<Vec<f64>>

The resulting type after applying the * operator.

fn mul(self, rhs: Redox<Vec<f64>>) -> Self::Output[src]

Performs the * operation. Read more

impl Mul<Redox<Vec<f64, Global>>> for &Matrix[src]

type Output = Redox<Vec<f64>>

The resulting type after applying the * operator.

fn mul(self, rhs: Redox<Vec<f64>>) -> Self::Output[src]

Performs the * operation. Read more

impl Mul<Redox<Vec<f64, Global>>> for SPMatrix[src]

Matrix multiplication with Redox

type Output = Redox<Vec<f64>>

The resulting type after applying the * operator.

fn mul(self, rhs: Redox<Vec<f64>>) -> Self::Output[src]

Performs the * operation. Read more

impl Mul<Redox<Vec<f64, Global>>> for &SPMatrix[src]

type Output = Redox<Vec<f64>>

The resulting type after applying the * operator.

fn mul(self, rhs: Redox<Vec<f64>>) -> Self::Output[src]

Performs the * operation. Read more

impl<T: Vector + FPVector> Mul<f64> for Redox<T> where
    <T as FPVector>::Scalar: Mul<f64, Output = <T as FPVector>::Scalar>, 
[src]

type Output = Self

The resulting type after applying the * operator.

fn mul(self, rhs: f64) -> Self::Output[src]

Performs the * operation. Read more

impl RedoxCommon for Redox<Vec<f64>>[src]

type ToRedox = Vec<f64>

fn from_vec(vec: Self::ToRedox) -> Self[src]

fn red(self) -> Self::ToRedox[src]

impl RedoxCommon for Redox<Vec<AD>>[src]

type ToRedox = Vec<AD>

fn from_vec(vec: Self::ToRedox) -> Self[src]

fn red(self) -> Self::ToRedox[src]

impl<T: Vector + FPVector> Sub<Redox<T>> for Redox<T> where
    <T as FPVector>::Scalar: Sub<Output = <T as FPVector>::Scalar>, 
[src]

type Output = Self

The resulting type after applying the - operator.

fn sub(self, rhs: Redox<T>) -> Self::Output[src]

Performs the - operation. Read more

impl<T: Vector + FPVector> Sub<f64> for Redox<T> where
    <T as FPVector>::Scalar: Sub<f64, Output = <T as FPVector>::Scalar>, 
[src]

type Output = Self

The resulting type after applying the - operator.

fn sub(self, rhs: f64) -> Self::Output[src]

Performs the - operation. Read more

Auto Trait Implementations

impl<T> RefUnwindSafe for Redox<T> where
    T: RefUnwindSafe

impl<T> Send for Redox<T> where
    T: Send

impl<T> Sync for Redox<T> where
    T: Sync

impl<T> Unpin for Redox<T>

impl<T> UnwindSafe for Redox<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

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]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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]

Performs the conversion.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V