On Monday, 15 June 2015 at 14:32:20 UTC, Ilya Yaroshenko wrote:
I am note sure that we need something like `height`/row and `width`/col for nd-slices. This kind of names can be used after casting to the future `std.container.matrix`.

Here something similar implemented:
https://github.com/k3kaimu/carbon/blob/master/source/carbon/linear.d#L52-L56

Want in the future something like `rows' and `cols`:
https://github.com/k3kaimu/carbon/blob/master/source/carbon/linear.d#L156-L157

Waiting for `static foreach`. This design really helps a lot to implement multidimensional slices.

Reply via email to