[][src]Struct rust_blas::math::mat::Mat

pub struct Mat<T> { /* fields omitted */ }

Methods

impl<T> Mat<T>[src]

pub fn new(n: usize, m: usize) -> Mat<T>[src]

pub fn rows(&self) -> usize[src]

pub fn cols(&self) -> usize[src]

pub unsafe fn set_rows(&mut self, n: usize)[src]

pub unsafe fn set_cols(&mut self, n: usize)[src]

pub unsafe fn push(&mut self, val: T)[src]

impl<T: Clone> Mat<T>[src]

pub fn fill(value: T, n: usize, m: usize) -> Mat<T>[src]

Trait Implementations

impl<T> Matrix<T> for Mat<T>[src]

impl<'a, T> From<&'a (dyn Matrix<T> + 'a)> for Mat<T> where
    T: Copy
[src]

impl<T: PartialEq> PartialEq<Mat<T>> for Mat<T>[src]

impl<T: Display> Display for Mat<T>[src]

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

impl<T> Index<usize> for Mat<T>[src]

type Output = [T]

The returned type after indexing.

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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