[][src]Struct peroxide::redox::redoxable::RedoxVector

pub struct RedoxVector {
    pub data: Vec<f64>,
}

Smart pointer of Vector

Fields

data: Vec<f64>

Methods

impl RedoxVector[src]

pub fn new(n: usize) -> Self[src]

pub fn from_vec(v: Vec<f64>) -> Self[src]

Trait Implementations

impl<'a, 'b> Add<&'b RedoxVector> for &'a RedoxVector[src]

type Output = RedoxVector

The resulting type after applying the + operator.

impl Add<RedoxVector> for f64[src]

type Output = RedoxVector

The resulting type after applying the + operator.

impl Add<RedoxVector> for RedoxVector[src]

type Output = RedoxVector

The resulting type after applying the + operator.

impl Add<f64> for RedoxVector[src]

type Output = RedoxVector

The resulting type after applying the + operator.

impl Deref for RedoxVector[src]

type Target = Vec<f64>

The resulting type after dereferencing.

impl Div<f64> for RedoxVector[src]

type Output = RedoxVector

The resulting type after applying the / operator.

impl Index<usize> for RedoxVector[src]

type Output = f64

The returned type after indexing.

impl IndexMut<usize> for RedoxVector[src]

impl<'a, 'b> Mul<&'b RedoxVector> for &'a RedoxVector[src]

type Output = f64

The resulting type after applying the * operator.

impl Mul<RedoxVector> for f64[src]

type Output = RedoxVector

The resulting type after applying the * operator.

impl Mul<RedoxVector> for RedoxVector[src]

Dot product

type Output = f64

The resulting type after applying the * operator.

impl Mul<f64> for RedoxVector[src]

type Output = RedoxVector

The resulting type after applying the * operator.

impl Neg for RedoxVector[src]

type Output = RedoxVector

The resulting type after applying the - operator.

impl PowOps for RedoxVector[src]

impl<'a, 'b> Sub<&'b RedoxVector> for &'a RedoxVector[src]

type Output = RedoxVector

The resulting type after applying the - operator.

impl Sub<RedoxVector> for f64[src]

type Output = RedoxVector

The resulting type after applying the - operator.

impl Sub<RedoxVector> for RedoxVector[src]

type Output = RedoxVector

The resulting type after applying the - operator.

impl Sub<f64> for RedoxVector[src]

type Output = RedoxVector

The resulting type after applying the - operator.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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.

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.

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