Skip to content

.== not defined for tuples #4827

Closed
Closed

Description

Having .== work on tuples would simplify a lot of dimensions checking in the linear algebra routines.

julia> A=randn(10,10);

julia> any(size(A).==10)
ERROR: no method .==((Int64,Int64),Int64)

julia> all([size(A)...].==10)
true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    help wantedIndicates that a maintainer wants help on an issue or pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions