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
42
//! Matrix Oxide
//! ===
//!
//! A simple, lightweight, and from scratch linear algebra library for Rust. Currently still under active development with goals at becoming more of a deep learning library.
//!
//! Installation
//! ---
//! Use cargo CLI:
//! ```sh
//! cargo install matrix-oxide
//! ```
//!
//! Or manually add it into your Cargo.toml:
//! ```toml
//! [dependencies]
//! matrix-oxide = "0.1.2"
//! ```
//!
//! Usage
//! ---
//!
//! For more thorough information, read the [docs](https://docs.rs/matrix-oxide/latest/matrix_oxide/).
//!
//!
//! Example: Multiply 2 random 2x2 matrices.
//! ```
//! use matrix_oxide::Matrix;
//!
//! let matrix_a = Matrix::<i32>::new_random(2, 2);
//! let matrix_b = Matrix::<i32>::new_random(2, 2);
//!
//! let matrix_ab = matrix_a.multiply(&matrix_b);
//! ```
// expose `Matrix` at the crates root level
pub use Matrix;