Open aleixgg opened 7 years ago
FYI
+=
. ndslice.algorithm
with vectorised vectorizedSum
, vectorizedEach
will have SIMD optimisations with LDC. vectorizedSum
and vectorizedEach
accept multiple multidimensional slices. For example vectorizedSum
can be used to calculate dotProduct for vector/matrix/cube/etc.
This is the code I have so far to solve to Issue #53 . Feel free to suggest improvements, I'm a relatively new D programmer (I have experience with Python and C++ mainly).