stdlib-js / stdlib-js/stdlib

[RFC]: add `@stdlib/iter/cartesian-product`

オープン
#1,335 コメント 6 件 リアクション 0 件 担当者 1 名 @Aryann15 が担当を希望しています GitHub で見る
Accepted difficulty: 2 Feature Good First Issue JavaScript priority: Low RFC Utilities
主要言語
JavaScript
スター
6k
フォーク
1.3k
平均マージ
1日 3時間
マージ済み PR(30日)
611

説明

### Description

This RFC proposes adding the package `@stdlib/iter/cartesian-product`.

This package would be the iterator equivalent of [`@stdlib/array/cartesian-product`](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/cartesian-product).

```javascript
function iterCartesianProduct( x1, x2 ) { ... }
```

where `x1` and `x2` are input array-like objects.

Package: `@stdlib/iter/cartesian-product`
Alias: `iterCartesianProduct`

### Related Issues

None.

### 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 を短くまとめたダイジェスト。