78 releases

Uses old Rust 2015

0.22.0 Dec 15, 2018
0.21.12 Nov 17, 2017
0.21.10 Aug 27, 2017
0.21.8 Jul 10, 2017
0.0.2 Nov 21, 2014

#1514 in Math

Download history 21/week @ 2024-01-11 17/week @ 2024-01-18 3/week @ 2024-01-25 7/week @ 2024-02-01 22/week @ 2024-02-08 28/week @ 2024-02-15 44/week @ 2024-02-22 80/week @ 2024-02-29 51/week @ 2024-03-07 44/week @ 2024-03-14 36/week @ 2024-03-21 88/week @ 2024-03-28 61/week @ 2024-04-04 35/week @ 2024-04-11 44/week @ 2024-04-18 124/week @ 2024-04-25

293 downloads per month
Used in 6 crates

Apache-2.0/MIT

82KB
2.5K SLoC

Matrix Package Documentation Build

The package provides a matrix laboratory.

Example

#[macro_use]
extern crate matrix;

use matrix::prelude::*;

let mut sparse = Compressed::zero((2, 4));
sparse.set((0, 0), 42.0);
sparse.set((1, 3), 69.0);

let dense = Conventional::from(&sparse);
assert!(
    &*dense == &*matrix![
        42.0, 0.0, 0.0,  0.0;
         0.0, 0.0, 0.0, 69.0;
    ]
);

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.

Dependencies

~0.2–9.5MB
~127K SLoC