stdlib-js / stdlib-js/stdlib

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

Offen
#126 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Accepted difficulty: 1 Feature JavaScript Math priority: Normal RFC
Vorherrschende Sprache
JavaScript
Sterne
6k
Forks
1.3k
Ø Merge
1 T. 3 Std.
Gemergte PRs (30 T.)
611

Beschreibung

## Checklist

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

- [x] Read and understood the [Code of Conduct][code-of-conduct].
- [x] Searched for existing issues and pull requests.
- [x] If this is a general question, searched the [FAQ][faq] for an existing answer.
- [x] If this is a feature request, the issue name begins with `RFC:`.

## Description

> Description of the issue (or feature request).

Add support for evaluating a [Chebyshev polynomial](https://en.wikipedia.org/wiki/Chebyshev_polynomials) 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:

- [SciPy](https://github.com/scipy/scipy/blob/2526df72e5d4ca8bad6e2f4b3cbdfbc33e805865/scipy/special/orthogonal_eval.pxd#L335)
- [SciPy](https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.eval_chebyc.html)

[code-of-conduct]: https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md

[faq]: https://github.com/stdlib-js/stdlib/blob/develop/FAQ.md

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.