Macro create_matrix

Source
macro_rules! create_matrix {
    ($($x:expr), *) => { ... };
}
Expand description

Macro the create a matrix row.

ยงExamples

use matrix::{create_matrix, create_matrix_row};

// This matrix contains two rows and each row contains two columns
let matrix = create_matrix!(
    create_matrix_row!(1.0,2.0),
    create_matrix_row!(3.0,4.0)
);