Struct linea::Matrix
[−]
[src]
pub struct Matrix<A, M: ArrayLength<A>, N: ArrayLength<GenericArray<A, M>> = U1>(_);
Rank-2 array of elements of size known at build time
Methods
impl<A: Copy + Zero + AddAssign + One + Mul<Output=A> + Div<Output=A>, N: ArrayLength<A>> Matrix<A, N>
[src]
impl<A: Copy + Zero + AddAssign + Mul<Output=A> + Div<Output=A>, N: ArrayLength<A>> Matrix<A, N> where N::ArrayType: Copy
[src]
fn proj(self, other: Self) -> Self
Project other onto self.
impl<A: Copy + Zero + AddAssign + Sub<Output=A> + Mul<Output=A> + Div<Output=A>, N: ArrayLength<A>> Matrix<A, N> where N::ArrayType: Copy
[src]
fn rej(self, other: Self) -> Self
Reject other from self.
impl<A: Copy, M: ArrayLength<A>, N: 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 scale<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>>
impl<A: Copy, M: ArrayLength<A> + ArrayLength<GenericArray<A, N>>, N: ArrayLength<A> + ArrayLength<GenericArray<A, M>>> Matrix<A, M, N>
[src]
Trait Implementations
impl<A, N: ArrayLength<A>> Index<usize> for Matrix<A, N>
[src]
type Output = A
The returned type after indexing
fn index(&self, i: usize) -> &A
The method for the indexing (Foo[Bar]
) operation
impl<A, N: ArrayLength<A>> IndexMut<usize> for Matrix<A, N>
[src]
fn index_mut(&mut self, i: usize) -> &mut A
The method for the indexing (Foo[Bar]
) operation
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
: no longer used for Iterator::sum
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
: no longer used for Iterator::product
zero_one
): no longer used for Iterator::product
The "one" (usually, multiplicative identity) for this type.