pub fn cube(dim: usize, n: i64, edge: bool) -> Result<Vec<i64>>Expand description
All integer cube points, or just its boundary, in lexicographic row order.
Upstream: treams.lattice.cube (edge = false) and treams.lattice.cubeedge
(edge = true), flattened to dim columns per point.