MathNet.Numerics 4.2.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package MathNet.Numerics --version 4.2.0                
NuGet\Install-Package MathNet.Numerics -Version 4.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MathNet.Numerics" Version="4.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MathNet.Numerics --version 4.2.0                
#r "nuget: MathNet.Numerics, 4.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MathNet.Numerics as a Cake Addin
#addin nuget:?package=MathNet.Numerics&version=4.2.0

// Install MathNet.Numerics as a Cake Tool
#tool nuget:?package=MathNet.Numerics&version=4.2.0                

Math.NET Numerics is the numerical foundation of the Math.NET project, aiming to provide methods and algorithms for numerical computations in science, engineering and every day use. Supports .Net Framework 4.0 or higher and .Net Standard 1.3 or higher, on Windows, Linux and Mac.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (392)

Showing the top 5 NuGet packages that depend on MathNet.Numerics:

Package Downloads
MathNet.Numerics.FSharp

F# Modules for Math.NET Numerics, the numerical foundation of the Math.NET project, aiming to provide methods and algorithms for numerical computations in science, engineering and every day use. Supports .NET 5.0 or higher, .NET Standard 2.0 and .NET Framework 4.6.1 or higher, on Windows, Linux and Mac.

MathNet.Spatial

Math.NET Spatial, providing methods and algorithms for geometry computations in science, engineering and every day use. Supports .Net Framework 4.6.1 or higher and .Net Standard 2.0 or higher on Windows, Linux and Mac.

MathNet.Filtering

Math.NET Filtering, providing methods and algorithms for signal processing and filtering in science, engineering and every day use. Supports .Net Framework 4.0 or higher and .Net Standard 1.3 or higher, on Windows, Linux and Mac.

QuantConnect.Common

QuantConnect LEAN Engine: Common Project - A collection of common definitions and utils

QuantConnect.Indicators

QuantConnect LEAN Engine: Indicators Project - A collection of financial indicators

GitHub repositories (73)

Showing the top 5 popular GitHub repositories that depend on MathNet.Numerics:

Repository Stars
rocksdanister/lively
Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
QuantConnect/Lean
Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
StockSharp/StockSharp
Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).
MassTransit/MassTransit
Distributed Application Framework for .NET
akkadotnet/akka.net
Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
Version Downloads Last updated
6.0.0-beta2 1,028 3/2/2025
6.0.0-beta1 112,738 12/17/2023
5.0.0 15,228,085 4/3/2022
5.0.0-beta02 2,485 4/3/2022
5.0.0-beta01 30,213 3/6/2022
5.0.0-alpha16 4,054 2/27/2022
5.0.0-alpha15 2,987 2/27/2022
5.0.0-alpha14 2,132 2/27/2022
5.0.0-alpha13 2,023 2/27/2022
5.0.0-alpha12 1,998 2/27/2022
5.0.0-alpha11 2,243 2/27/2022
5.0.0-alpha10 30,397 2/19/2022
5.0.0-alpha09 2,707 2/13/2022
5.0.0-alpha08 26,907 12/23/2021
5.0.0-alpha07 7,867 12/19/2021
5.0.0-alpha06 2,072 12/19/2021
5.0.0-alpha05 2,113 12/19/2021
5.0.0-alpha04 1,998 12/19/2021
5.0.0-alpha03 10,557 12/5/2021
5.0.0-alpha02 81,948 7/11/2021
5.0.0-alpha01 11,846 6/27/2021
4.15.0 8,936,749 1/7/2021
4.14.0 85,482 1/1/2021
4.13.0 14,145 12/30/2020
4.12.0 1,881,949 8/2/2020
4.11.0 1,445,167 5/24/2020
4.10.0 6,193 5/24/2020
4.9.1 1,868,608 4/12/2020
4.9.0 2,065,065 10/13/2019
4.8.1 1,463,648 6/11/2019
4.8.0 149,966 6/2/2019
4.8.0-beta02 3,108 5/30/2019
4.8.0-beta01 6,077 4/28/2019
4.7.0 2,199,522 11/11/2018
4.6.0 218,778 10/19/2018
4.5.1 1,567,374 5/22/2018
4.5.0 17,597 5/22/2018
4.4.1 154,603 5/6/2018
4.4.0 435,878 2/25/2018
4.3.0 7,633 2/24/2018
4.2.0 12,123 2/21/2018
4.1.0 12,622 2/19/2018
4.0.0 166,771 2/11/2018
4.0.0-beta07 3,616 2/10/2018
4.0.0-beta06 4,114 2/3/2018
4.0.0-beta05 4,272 1/22/2018
4.0.0-beta04 4,237 1/13/2018
4.0.0-beta03 5,003 1/9/2018
4.0.0-beta02 3,820 1/7/2018
4.0.0-beta01 3,249 1/7/2018
4.0.0-alpha04 3,149 1/5/2018
4.0.0-alpha03 12,473 12/26/2017
4.0.0-alpha02 5,441 11/30/2017
4.0.0-alpha01 4,908 11/26/2017
3.20.2 385,970 1/22/2018
3.20.1 25,402 1/13/2018
3.20.0 672,916 7/15/2017
3.20.0-beta01 13,432 5/31/2017
3.19.0 925,926 4/29/2017
3.18.0 100,230 4/9/2017
3.17.0 375,910 1/15/2017
3.16.0 49,886 1/3/2017
3.15.0 14,114 12/27/2016
3.14.0-beta03 3,735 11/20/2016
3.14.0-beta02 3,361 11/15/2016
3.14.0-beta01 3,845 10/30/2016
3.13.1 340,193 9/6/2016
3.13.0 45,800 8/18/2016
3.12.0 112,732 7/3/2016
3.11.1 144,062 4/24/2016
3.11.0 100,836 2/13/2016
3.10.0 88,063 12/30/2015
3.9.0 66,863 11/25/2015
3.8.0 250,376 9/26/2015
3.7.1 16,221 9/21/2015
3.7.0 153,589 5/9/2015
3.6.0 39,179 3/22/2015
3.5.0 75,642 1/10/2015
3.4.0 27,518 1/4/2015
3.3.0 17,145 11/26/2014
3.3.0-beta2 3,350 10/25/2014
3.3.0-beta1 25,738 9/28/2014
3.2.3 57,440 9/6/2014
3.2.2 3,744 9/5/2014
3.2.1 8,981 8/5/2014
3.2.0 4,478 8/5/2014
3.1.0 8,257 7/20/2014
3.0.2 18,683 6/26/2014
3.0.1 3,994 6/24/2014
3.0.0 22,704 6/21/2014
3.0.0-beta05 3,208 6/20/2014
3.0.0-beta04 3,192 6/15/2014
3.0.0-beta03 3,479 6/5/2014
3.0.0-beta02 3,166 5/29/2014
3.0.0-beta01 6,522 4/14/2014
3.0.0-alpha9 3,563 3/29/2014
3.0.0-alpha8 3,624 2/26/2014
3.0.0-alpha7 10,175 12/30/2013
3.0.0-alpha6 3,586 12/2/2013
3.0.0-alpha5 6,619 10/2/2013
3.0.0-alpha4 3,561 9/22/2013
3.0.0-alpha1 3,520 9/1/2013
2.6.2 87,449 10/21/2013
2.6.1 31,615 8/13/2013
2.6.0 6,837 7/26/2013
2.5.0 128,552 4/14/2013
2.4.0 15,735 2/3/2013
2.3.0 8,226 11/25/2012
2.2.1 10,359 8/29/2012
2.2.0 4,238 8/27/2012
2.1.2 39,049 10/9/2011
2.1.1 9,441 10/3/2011

Native Providers: MklProvider and similar types now public (entry point for memory management, etc)
Native Providers: All providers now support freeing resources without unloading the provider
Native Providers: MKL provider sets consistency, precision and accuracy modes earlier to ensure they are applied
Native Providers: If a provider has been loaded successfully, skip any future loading attempts (faster switching)
Build: add .Net Framework 4.6.1 target (main package), switch to 4.6.1 for testing projects