stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

RFC: add support for computing the secant (sec)

Open kgryte opened this issue 5 years ago • 7 comments

Checklist

Please ensure the following tasks are completed before submitting a feature request.

  • [x] Read and understood the Code of Conduct.
  • [x] Searched for existing issues and pull requests.
  • [x] The issue name begins with RFC:.

Description

Description of the feature request.

This RFC proposes adding support for computing the secant. The initial implementation is straightforward:

return 1.0 / cos( x );

Package: @stdlib/math/base/special/sec Alias: base.sec

Related Issues

Does this feature request have any related issues?

No.

Questions

Any questions for reviewers?

No.

Other

Any other information relevant to this feature request? This may include screenshots, references, sample output, and/or implementation notes.

Reference implementations:

kgryte avatar Oct 23 '18 18:10 kgryte

Would be great if you could assign this to me. The other mathematical functions seem like low hanging fruit too but it would be better to knock out one first.

Tranced avatar Sep 30 '19 07:09 Tranced

Awesome, thanks for your willingness to work on this! Just assigned you.

Planeshifter avatar Sep 30 '19 13:09 Planeshifter

@Tranced See acoth for a package on which you can model your implementation.

kgryte avatar Sep 30 '19 18:09 kgryte

Unassigning this issue so other contributors can feel free to work on this.

kgryte avatar Jun 28 '20 00:06 kgryte

Can I work on this?

yashshah1 avatar Aug 26 '20 10:08 yashshah1

@yashshah1 Sure! Go for it! Feel free to ping here or on Gitter if you encounter any issues or have any questions!

kgryte avatar Aug 26 '20 17:08 kgryte

I am interested to work on this issue under Quine. So please assign me this task to me.

Hritik1503 avatar May 04 '23 15:05 Hritik1503

@kgryte @Planeshifter assign this issue to me please

fady228 avatar Feb 26 '24 19:02 fady228

@fady228 Sure, thanks for looking into adding this package!

Planeshifter avatar Feb 26 '24 19:02 Planeshifter