Skip to content

Implement powi and powf for ArrayBase #1047

Closed
@multimeric

Description

@multimeric

Currently a ** 3 is the only example in the "ndarray_for_numpy_users" docs that requires a map. Could these methods be added directly? Rust has no ^ or ** exponentiation operator, but these two methods are implemented on numeric primitives, and I see no reason why they can't be added for arrays here for convenience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions