matrix_lib

Crates.iomatrix_lib
lib.rsmatrix_lib
version0.6.1
sourcesrc
created_at2023-05-26 07:21:04.522432
updated_at2023-06-29 09:29:30.109233
descriptioneasy to use library to operate on matrices
homepage
repository
max_upload_size
id874858
size77,455
WhiskyAKM (PTFOPlayer)

documentation

README

matrix_lib

A library implementing the matrices and basic operations on them

Want to contribute?:

My github:

github

Project:

github

Support:

https://www.buymeacoffee.com/WhiskyAKM





Macors

let m1 = matrix![
        vec![1,2,3], 
        vec![1,2,3],
        vec![1,2,3]
    ];

// this macro uses ',' to separate columns and ';' to separate rows
let m2 = matrix![
        1, 2, 3; 
        4, 5, 6; 
        7, 8, 9
    ];

// this macro is equivalent to matrix
// 1 2 3 
// 4 5 6 
// 7 8 9
// it splits the vector by length provided after "=>" operator
let vector = vec![1, 2, 3, 4, 5, 6, 7, 8, 9];
let m3 = matrix![vector => 3];
Commit count: 0

cargo fmt