Struct linea::Matrix [] [src]

pub struct Matrix<A, M: ArrayLength<A>, N: ArrayLength<GenericArray<A, M>> = U1>(_);

Methods

impl<A: Copy, M: ArrayLength<A> + ArrayLength<GenericArray<A, N>>, N: ArrayLength<A> + ArrayLength<GenericArray<A, M>>> Matrix<A, M, N>
[src]

fn from_col_major_array(a: GenericArray<GenericArray<A, M>, N>) -> Self

fn to_col_major_array(self) -> GenericArray<GenericArray<A, M>, N>

fn transpose(self) -> Matrix<A, N, M>

impl<A: Copy, M: ArrayLength<A>, N: ArrayLength<GenericArray<A, M>>> Matrix<A, M, N>
[src]

fn scalar_mul<B: Copy + Mul<A>>(self, b: B) -> Matrix<B::Output, M, N> where M: ArrayLength<B> + ArrayLength<B::Output>, N: ArrayLength<GenericArray<B, M>> + ArrayLength<GenericArray<B::Output, M>>

Trait Implementations

impl<A: Clone, M: ArrayLength<A>, N: ArrayLength<GenericArray<A, M>>> Clone for Matrix<A, M, N> where M::ArrayType: Clone
[src]

fn clone(&self) -> Self

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<A: Copy, M: ArrayLength<A>, N: ArrayLength<GenericArray<A, M>>> Copy for Matrix<A, M, N> where M::ArrayType: Copy, N::ArrayType: Copy
[src]

impl<B: Copy, A: Copy + MulAssign<B>, M: ArrayLength<A>, N: ArrayLength<GenericArray<A, M>>> MulAssign<B> for Matrix<A, M, N>
[src]

fn mul_assign(&mut self, rhs: B)

The method for the *= operator

impl<A: Copy + Zero, M: ArrayLength<A>, N: ArrayLength<GenericArray<A, M>>> Zero for Matrix<A, M, N>
[src]

fn zero() -> Self

Deprecated since 1.11.0

: no longer used for Iterator::sum

Unstable (zero_one)

: no longer used for Iterator::sum

The "zero" (usually, additive identity) for this type.

impl<A: Copy + Neg, M: ArrayLength<A> + ArrayLength<A::Output>, N: ArrayLength<GenericArray<A, M>> + ArrayLength<GenericArray<A::Output, M>>> Neg for Matrix<A, M, N>
[src]

type Output = Matrix<A::Output, M, N>

The resulting type after applying the - operator

fn neg(self) -> Self::Output

The method for the unary - operator

impl<B: Copy, A: Copy + Add<B>, M: ArrayLength<A> + ArrayLength<B> + ArrayLength<A::Output>, N: ArrayLength<GenericArray<A, M>> + ArrayLength<GenericArray<B, M>> + ArrayLength<GenericArray<A::Output, M>>> Add<Matrix<B, M, N>> for Matrix<A, M, N>
[src]

type Output = Matrix<A::Output, M, N>

The resulting type after applying the + operator

fn add(self, Matrix: Matrix<B, M, N>) -> Self::Output

The method for the + operator

impl<B: Copy, A: Copy + AddAssign<B>, M: ArrayLength<A> + ArrayLength<B>, N: ArrayLength<GenericArray<A, M>> + ArrayLength<GenericArray<B, M>>> AddAssign<Matrix<B, M, N>> for Matrix<A, M, N>
[src]

fn add_assign(&mut self, Matrix: Matrix<B, M, N>)

The method for the += operator

impl<B: Copy, A: Copy + Sub<B>, M: ArrayLength<A> + ArrayLength<B> + ArrayLength<A::Output>, N: ArrayLength<GenericArray<A, M>> + ArrayLength<GenericArray<B, M>> + ArrayLength<GenericArray<A::Output, M>>> Sub<Matrix<B, M, N>> for Matrix<A, M, N>
[src]

type Output = Matrix<A::Output, M, N>

The resulting type after applying the - operator

fn sub(self, Matrix: Matrix<B, M, N>) -> Self::Output

The method for the - operator

impl<B: Copy, A: Copy + SubAssign<B>, M: ArrayLength<A> + ArrayLength<B>, N: ArrayLength<GenericArray<A, M>> + ArrayLength<GenericArray<B, M>>> SubAssign<Matrix<B, M, N>> for Matrix<A, M, N>
[src]

fn sub_assign(&mut self, Matrix: Matrix<B, M, N>)

The method for the -= operator

impl<A: Copy + Zero + One, N: ArrayLength<A> + ArrayLength<GenericArray<A, N>>> One for Matrix<A, N, N>
[src]

fn one() -> Self

Deprecated since 1.11.0

: no longer used for Iterator::product

Unstable (zero_one)

: no longer used for Iterator::product

The "one" (usually, multiplicative identity) for this type.

impl<B: Copy, A: Copy + Mul<B>, K: ArrayLength<B> + ArrayLength<GenericArray<A, M>>, M: ArrayLength<A> + ArrayLength<A::Output>, N: ArrayLength<GenericArray<A::Output, M>> + ArrayLength<GenericArray<B, K>>> Mul<Matrix<B, K, N>> for Matrix<A, M, K> where A::Output: Zero + AddAssign
[src]

type Output = Matrix<A::Output, M, N>

The resulting type after applying the * operator

fn mul(self, Matrix: Matrix<B, K, N>) -> Self::Output

The method for the * operator