Skip to content

implement approx_equal or allclose #488

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

Closed
gdementen opened this issue Oct 20, 2017 · 1 comment
Closed

implement approx_equal or allclose #488

gdementen opened this issue Oct 20, 2017 · 1 comment
Assignees
Milestone

Comments

@gdementen
Copy link
Contributor

numpy uses: allclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False)

@alixdamman
Copy link
Collaborator

@gdementen We can also add the arguments rtol and atol (see np.allclose) to LArray.equals?

alixdamman added a commit to alixdamman/larray that referenced this issue Feb 15, 2018
…ls in order to compare float arrays within a relative and/or absolute tolerance.
@alixdamman alixdamman self-assigned this Feb 16, 2018
alixdamman added a commit to alixdamman/larray that referenced this issue Feb 16, 2018
…ls in order to test equality between two arrays within a relative or absolute tolerance
gdementen pushed a commit that referenced this issue Aug 31, 2018
… test equality between two arrays within a relative or absolute tolerance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants