Skip to content

Conversation

HansOlsson
Copy link
Collaborator

Looking at #3651 I realized that there is no real reason not to vectorize min/max with two arguments.
One use-case would be that you can ensure that each element of a vector is >=0 by using: max(0, x).

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.

1 participant