Module rin_core::math::base::storage[][src]

Abstract definition of a matrix data storage.

Traits

ContiguousStorage

A matrix storage that is stored contiguously in memory.

ContiguousStorageMut

A mutable matrix storage that is stored contiguously in memory.

ReshapableStorage

A matrix storage that can be reshaped in-place.

Storage

The trait shared by all matrix data storage.

StorageMut

Trait implemented by matrix data storage that can provide a mutable access to its elements.

Type Definitions

CStride

The column-stride of the owned data storage for a buffer of dimension (R, C).

Owned

The owned data storage that can be allocated from S.

RStride

The row-stride of the owned data storage for a buffer of dimension (R, C).

SameShapeStorage

The data storage for the sum of two matrices with dimensions (R1, C1) and (R2, C2).