Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

none of the new methods are being implemented (probably me being dumb)

Aperta
#387 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Start by reproducing the reported compilation errors with the Rust snippets and the stated ndarray and ndarray-linalg dependency features. Read the ndarray-linalg method implementations and feature or backend documentation to determine why inv(), trace(), and the other methods are unavailable. Done means identifying the missing configuration or confirming a library defect with a focused reproduction.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

use ndarray_linalg::Inverse;
use ndarray::*;

const DIM : usize = 2;
type Matrix = Array2<f64>;
type Vector = Array1<f64>;
type Edge = (u16, u16);
[dependencies]
ndarray =  { version = "0.16.1", features = ["blas"]}
ndarray-linalg = { version = "0.16.0", features = ["openblas-system"] }

Pretty sure I installed openblas correctly using vcpkg, before rust-analyzer wasnt working at all but now its working, just giving me errors whenever I try to call .inv() or .trace() (or any of the new methods)

no method named `inv` found for struct `ArrayBase` in the current scope
method not found in `ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>`

please let me know what other info yall need.

Lingua principale
Rust
Stelle
452
Fork
95
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-ndarray/ndarray-linalg

Tutte le issue di rust-ndarray/ndarray-linalg

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.