8000 einsum documentation addition · Issue #8138 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
einsum documentation addition #8138
Closed
Closed
@mattharrigan

Description

@mattharrigan

I really like einsum, very powerful, fast, flexible, and easy to read once you get the hang of it. After reading the docs, I didn't know that you could leave subscripts empty for a scalar. Specifically, np.einsum(',ij', 3, c) is equivalent to np.einsum('..., ...', 3, c), which I thought was pretty neat and not otherwise obvious in the docs. Perhaps add that to the docs. Thank you

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

      0