-
Notifications
You must be signed in to change notification settings - Fork 96
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
implement is close operator [FEA] #379
Comments
this is really a reduction I think and can already be implemented with all() |
I think we should have isclose(A,B) which returns a boolean tensor of the same size. Then the reduction can be done with all(). |
maybe we implement an isclose pointwise operator and allclose reduction? |
Yeah, we probably need two separate versions. I'd imagine almost everyone would want to reduce it afterwards, but look at the larger matrix for statistics or to find where problems are |
we should implement the isclose operator for comparing tensors.
https://www.w3schools.com/python/ref_math_isclose.asp
The text was updated successfully, but these errors were encountered: