mathnet / mathnet-numerics

Math.NET Numerics
http://numerics.mathdotnet.com
MIT License
3.51k stars 898 forks source link

Impl API for Broyden based on Vector<double> instead of double[] #1037

Open axtimhaus opened 1 year ago

axtimhaus commented 1 year ago

I wondered why the root finding classes do not use vectors for external API, but only arrays. It would help for my use cases to use Vectors.

I just doubled the original methods and made the respective changes for vectors.

Tests will follow. If this is accepted I will do the same for the other algorithms, too.

axtimhaus commented 1 year ago

Copied original tests and modified them for vector API.