Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve method with generics #309

Open
PABannier opened this issue Dec 29, 2021 · 0 comments
Open

Solve method with generics #309

PABannier opened this issue Dec 29, 2021 · 0 comments

Comments

@PABannier
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant