stdlib-js / stdlib-js/stdlib

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

オープン
#123 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Accepted difficulty: 3 Feature JavaScript Math priority: Normal RFC
主要言語
JavaScript
スター
6k
フォーク
1.3k
平均マージ
1日 3時間
マージ済み PR(30日)
611

説明

## 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 at a value `x`.

Package: `@stdlib/math/base/special/chebyshev-t-polynomial`
Alias: `base.chebyshevtpoly`

Implementation should be straightforward, but depends on having an implementation of the Guass hypergeometric function `hyp2f1`.

## 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#L252)
- [SciPy](https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.eval_chebyt.html#scipy.special.eval_chebyt)
- [Wolfram](http://reference.wolfram.com/language/ref/ChebyshevT.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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with the @stdlib/math/base/special/chebyshev-t-polynomial package and the implementation of the Guass hypergeometric function hyp2f1. Compare the expected evaluation behavior with the linked SciPy and Wolfram references. Done means the package supports evaluating first-kind Chebyshev polynomials at x under the stated alias.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
data
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。