Skip to content

implement partialord min/max #514

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
wants to merge 5 commits into from

Conversation

sebasv
Copy link
Contributor

@sebasv sebasv commented Oct 24, 2018

Implements #512 , but for PartialOrd. Unorderable cases such as f64::NAN result in an early return of None. Ideally there is also a variant that ignores unorderable cases, something like scalar_max_ignore_unorderable(), but with a more sensible name.

@sebasv
Copy link
Contributor Author

sebasv commented Oct 24, 2018

Forgot to mention! This depends on #507 . Travis should pass when that PR makes it into master.

@bluss
Copy link
Member

bluss commented Nov 22, 2018

Needs discussion what to do with the overlap with ndarray-stats https://docs.rs/ndarray-stats/

If this is in ndarray, I'd prefer something that's more geared towards the needs of floating point elements

@thecooldrop
Copy link

Hey @bluss what do you mean, when you say that it should be more geared toward floating point elements?

@sebasv
Copy link
Contributor Author

sebasv commented Mar 8, 2022

Closing as I don't see myself picking this up anytime soon. Feel free to take over

@sebasv sebasv closed this Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants