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>>>

Important traits for &'a mut [u8]
[src]

Extracts a slice containing the entire array

Important traits for &'a mut [u8]
[src]

Extracts a mutable slice containing the entire array

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]

[src]

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

1.3.0
[src]

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.

[src]

Dereferences the 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]

[src]

Mutably dereferences the 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]

[src]

Formats the value using the given formatter. Read more

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

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]

[src]

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

1.0.0
[src]

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>,
    DefaultAllocator: Allocator<N, R, C, Buffer = Self>, 
[src]

The static stride of this storage's rows.

The static stride of this storage's columns.

[src]

The matrix data pointer.

[src]

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

[src]

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

[src]

Indicates whether this data buffer stores its elements contiguously.

[src]

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

[src]

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

Important traits for &'a mut [u8]
[src]

Retrieves the data buffer as a contiguous slice. Read more

[src]

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

[src]

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

[src]

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

Important traits for &'a mut W
[src]

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

Important traits for &'a mut W
[src]

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>,
    DefaultAllocator: Allocator<N, R, C, Buffer = Self>, 
[src]

[src]

The matrix mutable data pointer.

Important traits for &'a mut [u8]
[src]

Retrieves the mutable data buffer as a contiguous slice. Read more

[src]

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

[src]

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

Important traits for &'a mut W
[src]

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

Important traits for &'a mut W
[src]

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

[src]

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

[src]

Swaps two elements without bound-checking.

impl<N, R, C> ContiguousStorage<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>,
    DefaultAllocator: Allocator<N, R, C, Buffer = Self>, 
[src]

impl<N, R, C> ContiguousStorageMut<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>,
    DefaultAllocator: Allocator<N, R, C, Buffer = Self>, 
[src]

Auto Trait Implementations

impl<N, R, C> Send for MatrixArray<N, R, C> where
    <<<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output as ArrayLength<N>>::ArrayType: Send

impl<N, R, C> Sync for MatrixArray<N, R, C> where
    <<<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output as ArrayLength<N>>::ArrayType: Sync