macro_rules! index {
($m: expr, $n: expr, $r: expr, $c: expr) => { ... };
}
Expand description
Translates a row-column coordinate to a flat index in the one dimensional array, indexing along columns. (So, columns are stored next to each other in memory instead of rows)