Skip to content

Support initialization/assignment from initializer lists #55

Description

@kfindeisen

Would it be possible to do bulk assignments to ndarrays, e.g.,

array[view(3)(0:2)] = { 1.0, 2.0 };

Naturally, the dimensions would need to match, which would probably restrict initializer list support to 1-dimensional arrays or slices.

Similarly, would it be possible to initialize 1-dimensional arrays from an initializer list?

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