Struct glucose::DVector[][src]

pub struct DVector<T> {
    pub data: Vec<T>,
    pub len: usize,
}

Fields

data: Vec<T>len: usize

Implementations

impl<T> DVector<T>[src]

pub fn new(data: Vec<T>) -> Self[src]

impl<T: Default + Copy> DVector<T>[src]

pub fn default_with_size(size: usize) -> Self[src]

impl<T: Scalar> DVector<T>[src]

pub fn dot(&self, other: Self) -> T[src]

Trait Implementations

impl<T: Scalar> Add<DVector<T>> for DVector<T>[src]

type Output = Self

The resulting type after applying the + operator.

impl<T: Scalar> AddAssign<DVector<T>> for DVector<T>[src]

impl<T: Clone> Clone for DVector<T>[src]

impl<T: Debug> Debug for DVector<T>[src]

impl<T: Default + Copy> Default for DVector<T>[src]

impl<T: Default + Copy> From<DMatrix<T>> for DVector<T>[src]

impl<T: Default + Copy> From<DVector<T>> for DMatrix<T>[src]

impl<T: Scalar> Mul<DVector<T>> for DMatrix<T>[src]

type Output = DVector<T>

The resulting type after applying the * operator.

impl<T: Scalar> Sub<DVector<T>> for DVector<T>[src]

type Output = Self

The resulting type after applying the - operator.

impl<T: Scalar> SubAssign<DVector<T>> for DVector<T>[src]

Auto Trait Implementations

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

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

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

impl<T> Unpin for DVector<T> where
    T: Unpin

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

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> Configure 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.