stdlib-js / stdlib

✨ Standard library for JavaScript and Node.js. ✨
https://stdlib.io
Apache License 2.0
4.54k stars 507 forks source link

[RFC]: evaluate a Chebyshev polynomial of the first kind on `[-2,2]` at a value `x` #126

Open kgryte opened 7 years ago

kgryte commented 7 years ago

Checklist

Please ensure the following tasks are completed before filing an issue.

Description

Description of the issue (or feature request).

Add support for evaluating a Chebyshev polynomial of the first kind on [-2,2] at a value x.

Package: @stdlib/math/base/special/chebyshev-c-polynomial Alias: base.chebyshevcpoly

Implementation should be straightforward, but depends on @stdlib/math/base/special/chebyshev-t-polynomial.

Related Issues

Does this issue (or feature request) have any related issues?

No.

Questions

Any questions for reviewers?

No.

Other

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

Reference implementations:

hkcc375 commented 3 weeks ago

Hey @kgryte I don't find any package named chebyshev-c-polynomial. Is this issue still open for implementation ?

kgryte commented 6 days ago

@hkcc375 Yes, but, as the OP mentions, it is dependent on the *-t-polynomial implementation.