macro_rules! u {
($y:expr) => { ... };
}
Expand description
Creates unit array (array with only one element)
ยงExamples
#[macro_use] extern crate numas;
use numas::array::Array;
let array = u![8];
let data = array.collect();
assert_eq!(data, vec![8]);
assert_eq!(array.len(), 1);