F# is well-suited to numerical and statistical programming because of its focus on data transformations and the use of functional programming to help give natural translation of the underlying mathematics into executable form.

Efficient execution of numeric code is essential, and F# executes as native code, normally through JIT compilation. Vectoried execution of F#-authored code is available through RyuJIT on Windows and SIMD primitives on Linux. F# can also utilize highly optimized, native code libraries such as the Intel Math Kernel Library (MKL) through packages like Math.NET Numerics and other libraries, and can be used to call directly into Fortran dynamic-link libraries.

This guide includes resources related to math and statistics programming with F#. To contribute to this guide, log on to GitHub, edit this page and send a pull request.

Note that the resources listed below are provided only for educational purposes related to the F# programming language. The F# Software Foundation does not endorse or recommend any commercial products, processes, or services. Therefore, mention of commercial products, processes, or services should not be construed as an endorsement or recommendation.

Resources for Math and Statistics

Open-source libraries

Commercial libraries