Skip to content

Indexing with a mask could broadcast #28

@linalikespuzzles

Description

@linalikespuzzles

Broadcasting behavior currently isn't implemented when using a matrix mask to index another matrix.
The following code should work:

Mat<> a({1,2,3,4,5,6,7,8,9},3,3);
Mat<bool> b({true, false, true},1,3);
a.i(b);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions