Instead of implementing your own functions for numerical support, there is an excellent library called Math.NET. It's an open-source library covering fundamental mathematics such as linear algebra and statistics.
The Math.NET library consists of the following libraries:
In this section, we'll look at Math.NET numerics, and see how it can help us in our F# programming. First, we need to make sure that Math.NET is installed on our system.
The Math.NET library can be installed using the built-in Package Manager.