mathnet / mathnet-numerics

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

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

Open axtimhaus opened 11 months ago

axtimhaus commented 11 months 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 11 months ago

Copied original tests and modified them for vector API.