FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add more element-wise math functions for floats by Waterdragen · Pull Request #1507 · rust-ndarray/ndarray · GitHub

Add more element-wise math functions for floats - #1507

Merged
akern40 merged 1 commit into
rust-ndarray:masterfrom
Waterdragen:more-float-fn
May 22, 2025
Merged

Add more element-wise math functions for floats#1507
akern40 merged 1 commit into
rust-ndarray:masterfrom
Waterdragen:more-float-fn

Conversation

Copy link
Copy Markdown
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 commented May 22, 2025

Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
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 merged commit 60a513b into rust-ndarray:master May 22, 2025

bluss commented May 22, 2025

Copy link
Copy Markdown
Member

Praise the "new" maintainers! 😉 🥳

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL