1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*!

This crate contains strided dense matrices implementations.

Matrices are defined as a contiguous piece of memory, the data array,
which is interpreted as a matrix stored in either column major order or row
major order.

*/

extern crate num;

mod mat;
pub mod errors;

pub use mat::{StridedMat, StridedMatView, StridedMatViewMut, StridedMatOwned};
pub use mat::{StridedVec, StridedVecView, StridedVecViewMut, StridedVecOwned};

/// Describe the storage order of a matrix.
pub enum StorageOrder {
    /// Column major storage 
    ColMaj,
    /// Row major storage 
    RowMaj
}