16 releases

0.9.2 Apr 6, 2023
0.9.1 Feb 5, 2023
0.9.0 Nov 12, 2022
0.3.17 Feb 7, 2022
0.2.2 Jul 31, 2021

#322 in Math

37 downloads per month
Used in finite_element_method

MIT/Apache

87KB
2.5K SLoC

Extended matrix

A matrix calculation module.

Example

#[macro_use]
extern crate extended_matrix;

use extended_matrix::{Matrix, BasicOperationsTrait};

let m_1 = Matrix::create(2, 2, &[1.0, 2.0, 3.0, 4.0]);
let m_2 = Matrix::create(2, 2, &[1.0, 2.0, 3.0, 4.0]);

let m_expected_1 = Matrix::create(2, 2, &[2.0, 4.0, 6.0, 8.0]);

assert_eq!(m_1.add(&m_2), Ok(m_expected_1));

Dependencies