New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Absence of some utility methods for Matrix #16816
Comments
I was aware of that problem for a long time, but things like #15883 had bothered to continue working on. |
I don't think matrices should have |
@oscarbenjamin I have no issues for not including |
There already is |
@sylee957 Wouldn't it be too long method name. Moreover, I think, it's intuitive for a user that when he/she is using, |
We always have an option to use things with |
That isn't very helpful for the common case where you want to test if something is equal to the number zero. When someone writes e.g.
they are unlikely to consider that is_zero might also be true for non-numbers. If every type of object is allowed to invent its own meaning for is_zero then the above would need to become
The assumptions system treats is_zero as meaning that something is the number zero. Hence zero implies even, real, complex, nonnegative etc. Allowing is_zero=True for a matrix breaks the understanding given to is_zero everywhere else. |
Problem
I think that following utility methods aren't there for Matrices:
Example of problem
Below is given the
dir
ofMatrix
.Other comments/references
I observed that this line checks that whether the matrix is positive definite. It would be better if a utility method is provided for such cases.
If there is a way to check all the above mentioned properties using the currently available Matrix methods then please comment in the section and close the issue.
Thanks.
The text was updated successfully, but these errors were encountered: