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

Add more element-wise math functions for floats#1507

Merged
akern40 merged 1 commit intorust-ndarray:masterrust-ndarray/ndarray:masterfrom
Waterdragen:more-float-fnWaterdragen/ndarray:more-float-fnCopy head branch name to clipboard
May 22, 2025
Merged

Add more element-wise math functions for floats#1507
akern40 merged 1 commit intorust-ndarray:masterrust-ndarray/ndarray:masterfrom
Waterdragen:more-float-fnWaterdragen/ndarray:more-float-fnCopy head branch name to clipboard

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

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