array icon indicating copy to clipboard operation
array copied to clipboard

Numpy -> nda::array cheat sheet?

Open mgraczyk opened this issue 3 years ago • 0 comments

It would be very helpful to provide a cheat sheet table at the top of the array.h header file. Something that shows how to do an equivalent numpy, Matlab, or Eigen operation using array.h

I was recently confused by slicing vs cropping. Something like this would help a lot

numpy nda::array
x[:, :, 0] x(_, _, 0)
x[:, :, [0]] x(_, _, range(0, 1))

etc

mgraczyk avatar Mar 04 '22 23:03 mgraczyk