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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Provides a matrix implementation, wrapping calls to BLAS and LAPACK.
//!
//! Supports matrix views, submatrices, arithmetic operations, decompositions (including singular
//! value and eigenvalue decompositions), linear system equation solvers, and norms.

#![warn(missing_docs)]

extern crate blas;
extern crate lapack;
extern crate num;
#[macro_use] extern crate error_chain;
extern crate rand;
#[allow(unused_imports)] #[macro_use] extern crate unittest;

mod errors;

#[macro_use] mod macro_def;

pub mod core;
pub use core::{Matrix, MatrixRange, MatrixIter, Transpose, SymmetrizeMethod};

mod ops;
mod subm;
pub use subm::{SubMatrix, CloneSub};

mod decompose;
pub use decompose::{Compose,
    LU, LUDecompose,
    QR, QRDecompose,
    Cholesky, CholeskyDecompose,
    Eigen, EigenOptions, EigenDecompose,
    SVD, SingularValueDecompose
};

mod solve;
pub use solve::{Solve, GramSolve};

mod map;

mod norm;
pub use norm::{Norm, VectorNorm, MatNorm, MatrixNorm};