Skip to content

Add __len__, size, and shape #196

@prisae

Description

@prisae

Following up on a discussion on Slack: we should add __len__, size, and shape attributes. For a TensorMesh, e.g., shape is the same as vnC, and size is the same as nC. However, while shape and size is familiar to anyone working with numpy, vnC and nC are not.

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