Support aliasing in ArrayView::from_shape

オープン
#438 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

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

調査の方向性

Start at the ArrayView::from_shape entry point and trace how shape and strides are validated for view construction. Determine the intended handling of stride-zero axes with length greater than one, then verify that such broadcast-like views are accepted without breaking existing aliasing behavior.

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

説明

enhancement

It is safe for ArrayView instances to have aliasing elements. It would be good to add support for this in ArrayView::from_shape. I'm not sure whether we should support all possible types of aliasing, but it would be good to at least add support for stride 0 for axes with length greater than 1. (Views like this are often the result of broadcasting.)

主要言語
Rust
スター
4.3k
フォーク
391
PR マージ指標
30日以内にマージされた PR はありません

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rust-ndarray/ndarray のほかの issue

rust-ndarray/ndarray の issue をすべて見る

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

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