Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Thin SVD

Abierto
#414 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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! 👍

Lenguaje dominante
Rust
Estrellas
452
Forks
95
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de rust-ndarray/ndarray-linalg

Todos los issues de rust-ndarray/ndarray-linalg

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.