Struct nalgebra::core::MatrixArray [] [src]

#[repr(C)]
pub struct MatrixArray<N, R, C> where
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
{ /* fields omitted */ }

A array-based statically sized matrix data storage.

Methods from Deref<Target = GenericArray<N, Prod<R::Value, C::Value>>>

Trait Implementations

impl<N, R, C> Hash for MatrixArray<N, R, C> where
    N: Hash,
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<N, R, C> Deref for MatrixArray<N, R, C> where
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<N, R, C> DerefMut for MatrixArray<N, R, C> where
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
[src]

The method called to mutably dereference a value

impl<N, R, C> Debug for MatrixArray<N, R, C> where
    N: Debug,
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
[src]

Formats the value using the given formatter.

impl<N, R, C> Copy for MatrixArray<N, R, C> where
    N: Copy,
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>,
    GenericArray<N, Prod<R::Value, C::Value>>: Copy
[src]

impl<N, R, C> Clone for MatrixArray<N, R, C> where
    N: Clone,
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N, R, C> Eq for MatrixArray<N, R, C> where
    N: Eq,
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
[src]

impl<N, R, C> PartialEq for MatrixArray<N, R, C> where
    N: PartialEq,
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<N, R, C> Storage<N, R, C> for MatrixArray<N, R, C> where
    N: Scalar,
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
[src]

The static stride of this storage's rows.

The static stride of this storage's columns.

The allocator for this family of storage.

Builds a matrix data storage that does not contain any reference.

Clones this data storage into one that does not contain any reference.

The matrix data pointer.

The dimension of the matrix at run-time. Arr length of zero indicates the additive identity element of any dimension. Must be equal to Self::dimension() if it is not None. Read more

The spacing between concecutive row elements and consecutive column elements. Read more

Compute the index corresponding to the irow-th row and icol-th column of this matrix. The index must be such that the following holds: Read more

Gets the address of the i-th matrix component without performing bound-checking.

Gets the address of the i-th matrix component without performing bound-checking.

Retrieves a reference to the i-th element without bound-checking.

Retrieves a reference to the i-th element without bound-checking.

impl<N, R, C> StorageMut<N, R, C> for MatrixArray<N, R, C> where
    N: Scalar,
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
[src]

The matrix mutable data pointer.

Gets the mutable address of the i-th matrix component without performing bound-checking.

Gets the mutable address of the i-th matrix component without performing bound-checking.

Retrieves a mutable reference to the i-th element without bound-checking.

Retrieves a mutable reference to the element at (irow, icol) without bound-checking.

Swaps two elements using their linear index without bound-checking.

Swaps two elements without bound-checking.

impl<N, R, C> OwnedStorage<N, R, C> for MatrixArray<N, R, C> where
    N: Scalar,
    R: DimName,
    C: DimName,
    R::Value: Mul<C::Value>,
    Prod<R::Value, C::Value>: ArrayLength<N>, 
[src]

Converts this data storage to a slice.

Converts this data storage to a mutable slice.