Skip to content

ndarray size() needs a better docstring or just not exist #155

@gerrymanoim

Description

@gerrymanoim

https://github.com/quantopian/libpy/blob/master/include/libpy/ndarray_view.h#L804.

The following should always work:

for (std::size_t ix = 0; ix < arr.size(); ++ix) {
    arr[ix];
}

Docstring should be the size along axis 0 or just not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions