Mir vs. Numpy: Reworked!

jmh530 john.michael.hall at gmail.com
Thu Dec 3 21:28:04 UTC 2020


On Thursday, 3 December 2020 at 20:25:11 UTC, data pulverizer 
wrote:
> [snip]
>
> Very interesting work. What is the difference between Mir's 
> field, slice, native and ndslice? [...]

The document says:
     Slice: Python like. Uses D Slices and Strides for grouping 
(Red-Black).
     Naive: one for-loop for each dimension. Matrix-Access via 
multi-dimensional Array.
     Field: one for-loop. Matrix is flattened. Access via 
flattened index.
     NdSlice: D like. Uses just MIR functionalities.



More information about the Digitalmars-d-announce mailing list