Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

implement partialord min/max#514

Closed
sebasv wants to merge 5 commits intorust-ndarray:masterrust-ndarray/ndarray:masterfrom
sebasv:partial-min-maxsebasv/ndarray:partial-min-maxCopy head branch name to clipboard
Closed

implement partialord min/max#514
sebasv wants to merge 5 commits intorust-ndarray:masterrust-ndarray/ndarray:masterfrom
sebasv:partial-min-maxsebasv/ndarray:partial-min-maxCopy head branch name to clipboard

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.

src/numeric/impl_numeric.rs Outdated Show resolved Hide resolved
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.