Skip to content

Numpy -> nda::array cheat sheet? #63

@mgraczyk

Description

@mgraczyk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions