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

#1957 in Math

Download history 27/week @ 2024-11-18 43/week @ 2024-11-25 55/week @ 2024-12-02 231/week @ 2024-12-09 42/week @ 2024-12-16 46/week @ 2024-12-23 12/week @ 2024-12-30 34/week @ 2025-01-06 60/week @ 2025-01-13 49/week @ 2025-01-20 17/week @ 2025-01-27 84/week @ 2025-02-03 121/week @ 2025-02-10 71/week @ 2025-02-17 54/week @ 2025-02-24 31/week @ 2025-03-03

287 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