Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Thin SVD

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust

調査の方向性

Start by reading lax/src/svd.rs, especially the SvdWork implementation and the documented LAPACK operation table, then compare the entry point in lax/src/lib.rs with the SVD trait in ndarray-linalg/src/svd.rs. Determine how the gesvdx-based thin or economy SVD should fit the existing API; done means the capability is implemented and its supported operation documentation is updated.

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

説明

I was studying PICARD (a faster version of ICA than "FastICA") and saw some mention of various types of SVD, which I'm already familiar with. One of the variants was "thin" SVD. I can see that there are other libs that save computation by only computing this "thin" variant and I was wondering if maybe ndarray-linalg could too.

I did a search of the code earlier and saw no mention of it, I'm curious if it'd be worth developing.

My understanding is that there are separate LAPACK functions/instructions you'd use for 'economy'/'thin' SVD, gesvdx being the relevant one

For reference I am interested in its use in whitening in this crate

So two things I see there are that

  1. there's this line saying it is unimplemented

https://github.com/rust-ndarray/ndarray-linalg/blob/49e964be06c830a04442e48e0f9a89d2000bbbd1/lax/src/svd.rs#L63-L67

  1. there's this comment making v clear which LAPACK instructions are supported

https://github.com/rust-ndarray/ndarray-linalg/blob/49e964be06c830a04442e48e0f9a89d2000bbbd1/lax/src/svd.rs#L6-L8

and (from right to left in that table)

https://github.com/rust-ndarray/ndarray-linalg/blob/49e964be06c830a04442e48e0f9a89d2000bbbd1/lax/src/svd.rs#L180-L181

https://github.com/rust-ndarray/ndarray-linalg/blob/49e964be06c830a04442e48e0f9a89d2000bbbd1/lax/src/svd.rs#L313-L314

I'd be interested in this but for now just pointing out where the relevant parts of code are, have not dug deeper! 👍

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

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

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

はじめの一歩

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

rust-ndarray/ndarray-linalg のほかの issue

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

似ている issue

Rust の issue をもっと見る

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

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