I'm looking for a C# linear algebra library.
I wan't to solve a homogeneous linear system with least squares minimization.
I've been trying to use some librarys but I was just able to find the trivial solution.
Any recommendations?
I'm looking for a C# linear algebra library.
I wan't to solve a homogeneous linear system with least squares minimization.
I've been trying to use some librarys but I was just able to find the trivial solution.
Any recommendations?
As commenter oleksii mentioned, you can use Accord.NET to achieve this as well. But you can also use its Solver extension method for that instead of manually creating a SVD:
And that is it. It also works when
b
is a matrix as well.Disclaimer: I am the author of this library.
See:
They are open source too!