Skip to content

Implement LArray.reverse(axis) #631

Closed
@gdementen

Description

@gdementen

So that we can write:

(agei * dx).reverse(AGE).cumsum(AGE).reverse(AGE)

instead of the much less readable:

(agei * dx)[AGE[::-1]].cumsum(AGE)[AGE[::-1]]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions