ndarray-linalg
ndarray-linalg copied to clipboard
Solve method with generics
I tried solving a simple linear system with generics T having the Float trait, but I couldn't make it work. Here is a short snippet of code:
// A is some 2d matrix
let K = 5;
let b: Array1<T> = Array1::ones(K);
let _res = A.solve(&b);
Any ideas how to fix this issue?