stdlib-js / stdlib-js/stdlib

[RFC]: add `assign` and `strided` methods to `math/base/special/csignumf`

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

説明

### Description

This RFC proposes adding an implementation for `csignumf.assign( re, im, out, strideOut, offsetOut )` and `csignumf.strided( z, sz, oz, out, so, oo )` in [`math/base/special/csignumf`](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/csignumf)

For `csignumf.assign( re, im, out, strideOut, offsetOut )`, the function supports the following parameters:

`re`: real component of the complex number.
`im`: imaginary component of the complex number.
`out`: output array.
`strideOut`: stride length for `out`.
`offsetOut`: starting index for `out`.

For `csignumf.strided( z, sz, oz, out, so, oo )`, the function supports the following parameters:

`z`: complex number strided array view.
`sz`: stride length for z.
`oz`: starting index for z.
`out`: output array.
`so`: stride length for out.
`oo`: starting index for out.

### Related Issues

[Reference implementation](https://github.com/stdlib-js/stdlib/commit/486fed2b9816530eb135f9846f3745281cec76e2#diff-21f0b814eeab6be07313a2f02453372f37d95323a6ba4961f06843be96deceb9)

[Reference comment](https://github.com/stdlib-js/stdlib/pull/6361#pullrequestreview-2734730020)

### Questions

No.

### Other

No.

### Checklist

- [x] I have read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [x] Searched for existing issues and pull requests.
- [x] The issue name begins with `RFC:`.

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

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

評価

この issue はまだ評価されていません。

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

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