-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
The function is_square can be used to determine if the shape of a matrix is square.
The documentation for is_square does not cover this case, but in every documented version the function tests whether the given argument is the square of some value. There are 5 documented versions: they all say exactly the same, except for one which inserts the (superfluous?) word perfect. There are 52 methods for is_square.
Questions:
- Can/Should we condense the documentation into a single entry? Maybe a separate entry for matrices?
- Given that the semantics of
is_squarefor matrices is different, should it have a different name? e.g.is_square_matrixOne could also ask whether a given matrix is a square value; not sure this is ever useful, and I don't know how to check it.
I think (1) is a good idea, and am not convinced by the possible merits of (2).
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation