How to sum multidimensional arrays?

bachmeier no at spam.net
Fri Feb 28 17:25:56 UTC 2020


On Friday, 28 February 2020 at 16:51:10 UTC, AB wrote:

> See https://dlang.org/spec/operatoroverloading.html#array-ops 
> for a better overview of the required operators or mir.ndslice 
> for an nD implementation.

Here's an old version of some of the things I've been using:

https://bitbucket.org/bachmeil/dmdgretl/src/67a6c5dbf95f23fa753bfd590bc464147cbdc5cc/inst/gretl/matrix.d#lines-307

It has multidimensional slicing and such.


More information about the Digitalmars-d-learn mailing list