macro_rules! row {
() => { ... };
($($v:expr),+ $(,)?) => { ... };
}
Expand description
Creates a Row
containing the arguments.
use faer_core::row;
let row_vec = row![3.0, 5.0, 7.0, 9.0];
assert_eq!(row_vec.read(0), 3.0);
assert_eq!(row_vec.read(1), 5.0);
assert_eq!(row_vec.read(2), 7.0);
assert_eq!(row_vec.read(3), 9.0);