Skip to content
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

Polish approx #2

Merged
merged 63 commits into from May 5, 2019
Merged

Conversation

LukeMathWalker
Copy link

@LukeMathWalker LukeMathWalker commented May 5, 2019

I have added the deprecation mark for all_close, generalized the implementation of approx's trait (using your PR on approx) and replaced all usages of all_close in tests and doc tests.
And I have merged master into the branch... which causes this nasty diff 😅

jturner314 and others added 30 commits March 11, 2019 18:52
* Add examples of binary arithmetic operators

* Add note about element type implementing operator
Instead of using square initial matrices, use 2x3 matrices to make it clearer in
the example which Axis is calculated over

Signed-off-by: JP-Ellis <josh@jpellis.me>
Improve documentation for sum_axis and mean_axis
* Improve docs of .raw_dim(), .shape(), and .strides()

* Add example of .shape()/.raw_dim()
Fixes rust-ndarray#609 (assuming we don't want to actually add conversion
methods).
- fixed typo in ArrayDisplayMode comment
- updated ArrayDisplayMode constructor to use shape instead of array
- fixed output for complex dimensions
Test if every element of the iterator matches a predicate.

This is useful, for instance, to test if two matrices are elementwise
"similar" (within a given threshold) without modifying the matrices.
LukeMathWalker and others added 27 commits April 20, 2019 17:07
…matting

Implemented a function for smarter debug formatting.
* Add `logspace` constructor for Array1

Signed-off-by: JP-Ellis <josh@jpellis.me>

* Add logspace tests

Signed-off-by: JP-Ellis <josh@jpellis.me>

* More extensive logspace tests

Signed-off-by: JP-Ellis <josh@jpellis.me>

* Remove print statements in doc tests

Signed-off-by: JP-Ellis <josh@jpellis.me>

* Add `geomspace` and make `logspace` compatible with NumPy

Signed-off-by: JP-Ellis <josh@jpellis.me>
@jturner314 jturner314 merged commit 15122f2 into jturner314:approx May 5, 2019
@jturner314
Copy link
Owner

@LukeMathWalker Thanks for working on this! That's a big help.

@LukeMathWalker LukeMathWalker deleted the update-approx branch May 5, 2019 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants