Skip to content

Add more element-wise math functions for floats #1507

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

Merged
merged 1 commit into from
May 22, 2025

Conversation

Waterdragen
Copy link
Contributor

Extends the functionality of #1042

Exponential and Logarithmic

  • exp_m1
  • ln_1p

Trig functions

  • asin
  • acos
  • atan
  • sinh
  • cosh
  • tanh
  • asinh
  • acosh
  • atanh

Other

  • hypot

@akern40
Copy link
Collaborator

akern40 commented May 22, 2025

@nilgoyette thoughts on this addition, API-wise? I think I'm in favor

@nilgoyette
Copy link
Collaborator

@akern40 I understand why the "old" maintainers were cautious about adding too much methods, but the diff shows that we currently support sin/cos/tan, but not asin/acos/atan (for example). I don't think this make much sense. At that point, we should add those methods.

@akern40 akern40 merged commit 60a513b into rust-ndarray:master May 22, 2025
15 checks passed
@bluss
Copy link
Member

bluss commented May 22, 2025

Praise the "new" maintainers! 😉 🥳

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.

4 participants