MathNet.Numerics
2.5.0
Prefix Reserved
See the version list below for details.
dotnet add package MathNet.Numerics --version 2.5.0
NuGet\Install-Package MathNet.Numerics -Version 2.5.0
<PackageReference Include="MathNet.Numerics" Version="2.5.0" />
paket add MathNet.Numerics --version 2.5.0
#r "nuget: MathNet.Numerics, 2.5.0"
// Install MathNet.Numerics as a Cake Addin #addin nuget:?package=MathNet.Numerics&version=2.5.0 // Install MathNet.Numerics as a Cake Tool #tool nuget:?package=MathNet.Numerics&version=2.5.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. Numerics is the result of merging dnAnalytics with Math.NET Iridium and is intended to replace both. Also includes a portable build supporting .Net 4 and higher, SL5, WP8 and .NET for Windows Store apps.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages (388)
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. |
|
QuantConnect.Common
QuantConnect LEAN Engine: Common Project - A collection of common definitions and utils |
|
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.Indicators
QuantConnect LEAN Engine: Indicators Project - A collection of financial indicators |
GitHub repositories (70)
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-beta1 | 75,812 | 12/17/2023 |
5.0.0 | 13,048,099 | 4/3/2022 |
5.0.0-beta02 | 2,383 | 4/3/2022 |
5.0.0-beta01 | 29,531 | 3/6/2022 |
5.0.0-alpha16 | 3,970 | 2/27/2022 |
5.0.0-alpha15 | 2,906 | 2/27/2022 |
5.0.0-alpha14 | 2,068 | 2/27/2022 |
5.0.0-alpha13 | 1,942 | 2/27/2022 |
5.0.0-alpha12 | 1,932 | 2/27/2022 |
5.0.0-alpha11 | 2,160 | 2/27/2022 |
5.0.0-alpha10 | 28,139 | 2/19/2022 |
5.0.0-alpha09 | 2,643 | 2/13/2022 |
5.0.0-alpha08 | 26,819 | 12/23/2021 |
5.0.0-alpha07 | 7,794 | 12/19/2021 |
5.0.0-alpha06 | 2,008 | 12/19/2021 |
5.0.0-alpha05 | 2,027 | 12/19/2021 |
5.0.0-alpha04 | 1,918 | 12/19/2021 |
5.0.0-alpha03 | 9,809 | 12/5/2021 |
5.0.0-alpha02 | 81,760 | 7/11/2021 |
5.0.0-alpha01 | 11,821 | 6/27/2021 |
4.15.0 | 8,589,432 | 1/7/2021 |
4.14.0 | 80,563 | 1/1/2021 |
4.13.0 | 13,546 | 12/30/2020 |
4.12.0 | 1,848,311 | 8/2/2020 |
4.11.0 | 1,412,695 | 5/24/2020 |
4.10.0 | 5,833 | 5/24/2020 |
4.9.1 | 1,698,316 | 4/12/2020 |
4.9.0 | 2,029,868 | 10/13/2019 |
4.8.1 | 1,429,867 | 6/11/2019 |
4.8.0 | 142,271 | 6/2/2019 |
4.8.0-beta02 | 3,080 | 5/30/2019 |
4.8.0-beta01 | 6,032 | 4/28/2019 |
4.7.0 | 2,139,491 | 11/11/2018 |
4.6.0 | 215,726 | 10/19/2018 |
4.5.1 | 1,528,911 | 5/22/2018 |
4.5.0 | 16,821 | 5/22/2018 |
4.4.1 | 153,425 | 5/6/2018 |
4.4.0 | 426,657 | 2/25/2018 |
4.3.0 | 7,209 | 2/24/2018 |
4.2.0 | 11,685 | 2/21/2018 |
4.1.0 | 11,735 | 2/19/2018 |
4.0.0 | 162,321 | 2/11/2018 |
4.0.0-beta07 | 3,505 | 2/10/2018 |
4.0.0-beta06 | 4,003 | 2/3/2018 |
4.0.0-beta05 | 4,207 | 1/22/2018 |
4.0.0-beta04 | 4,173 | 1/13/2018 |
4.0.0-beta03 | 4,904 | 1/9/2018 |
4.0.0-beta02 | 3,706 | 1/7/2018 |
4.0.0-beta01 | 3,150 | 1/7/2018 |
4.0.0-alpha04 | 3,050 | 1/5/2018 |
4.0.0-alpha03 | 11,959 | 12/26/2017 |
4.0.0-alpha02 | 5,367 | 11/30/2017 |
4.0.0-alpha01 | 4,842 | 11/26/2017 |
3.20.2 | 382,740 | 1/22/2018 |
3.20.1 | 25,212 | 1/13/2018 |
3.20.0 | 661,483 | 7/15/2017 |
3.20.0-beta01 | 13,298 | 5/31/2017 |
3.19.0 | 923,484 | 4/29/2017 |
3.18.0 | 98,439 | 4/9/2017 |
3.17.0 | 368,699 | 1/15/2017 |
3.16.0 | 47,973 | 1/3/2017 |
3.15.0 | 13,996 | 12/27/2016 |
3.14.0-beta03 | 3,664 | 11/20/2016 |
3.14.0-beta02 | 3,287 | 11/15/2016 |
3.14.0-beta01 | 3,772 | 10/30/2016 |
3.13.1 | 337,010 | 9/6/2016 |
3.13.0 | 42,719 | 8/18/2016 |
3.12.0 | 108,800 | 7/3/2016 |
3.11.1 | 142,336 | 4/24/2016 |
3.11.0 | 97,361 | 2/13/2016 |
3.10.0 | 87,594 | 12/30/2015 |
3.9.0 | 66,027 | 11/25/2015 |
3.8.0 | 246,095 | 9/26/2015 |
3.7.1 | 16,130 | 9/21/2015 |
3.7.0 | 151,294 | 5/9/2015 |
3.6.0 | 38,706 | 3/22/2015 |
3.5.0 | 74,736 | 1/10/2015 |
3.4.0 | 27,167 | 1/4/2015 |
3.3.0 | 16,828 | 11/26/2014 |
3.3.0-beta2 | 3,247 | 10/25/2014 |
3.3.0-beta1 | 25,441 | 9/28/2014 |
3.2.3 | 57,248 | 9/6/2014 |
3.2.2 | 3,652 | 9/5/2014 |
3.2.1 | 8,771 | 8/5/2014 |
3.2.0 | 4,306 | 8/5/2014 |
3.1.0 | 8,146 | 7/20/2014 |
3.0.2 | 18,554 | 6/26/2014 |
3.0.1 | 3,902 | 6/24/2014 |
3.0.0 | 22,519 | 6/21/2014 |
3.0.0-beta05 | 3,109 | 6/20/2014 |
3.0.0-beta04 | 3,095 | 6/15/2014 |
3.0.0-beta03 | 3,372 | 6/5/2014 |
3.0.0-beta02 | 3,089 | 5/29/2014 |
3.0.0-beta01 | 6,432 | 4/14/2014 |
3.0.0-alpha9 | 3,475 | 3/29/2014 |
3.0.0-alpha8 | 3,546 | 2/26/2014 |
3.0.0-alpha7 | 10,078 | 12/30/2013 |
3.0.0-alpha6 | 3,500 | 12/2/2013 |
3.0.0-alpha5 | 6,533 | 10/2/2013 |
3.0.0-alpha4 | 3,477 | 9/22/2013 |
3.0.0-alpha1 | 3,420 | 9/1/2013 |
2.6.2 | 85,982 | 10/21/2013 |
2.6.1 | 30,895 | 8/13/2013 |
2.6.0 | 6,731 | 7/26/2013 |
2.5.0 | 127,765 | 4/14/2013 |
2.4.0 | 15,598 | 2/3/2013 |
2.3.0 | 8,115 | 11/25/2012 |
2.2.1 | 10,087 | 8/29/2012 |
2.2.0 | 4,134 | 8/27/2012 |
2.1.2 | 37,184 | 10/9/2011 |
2.1.1 | 9,293 | 10/3/2011 |
### Potentially Breaking Changes:
Despite semver this release contains two changes that may break code but without triggering a major version number change. The changes fix semantic bugs and a major usability issue without changing the formal API itself. Most users are not expected to be affected negatively. Nevertheless, this is an exceptional case and we try hard to avoid such changes in the future.
- Statistics: Empty statistics now return NaN instead of either 0 or throwing an exception. *This may break code in case you relied upon the previous unusual and inconsistent behavior.*
- Linear Algebra: More reasonable ToString behavior for matrices and vectors. *This may break code if you relied upon ToString to export your full data to text form intended to be parsed again later. Note that the classes in the MathNet.Numerics.IO library are more appropriate for storing and loading data.*
### Statistics:
- More consistent behavior for empty and single-element data sets: Min, Max, Mean, Variance, Standard Deviation etc. no longer throw exceptions if the data set is empty but instead return NaN. Variance and Standard Deviation will also return NaN if the set contains only a single entry. Population Variance and Population Standard Deviation will return 0 in this case.
- Reworked order statistics (Quantile, Quartile, Percentile, IQR, Fivenum, etc.), now much easier to use and supporting compatibility with all 9 R-types, Excel and Mathematica. The obsolete Percentile class now leverages the new order statistics, fixing a range check bug as side effect.
- New Hybrid Monte Carlo sampler for multivariate distributions.
- New financial statistics: absolute risk and return measures.
- Explicit statistics for sorted arrays, unsorted arrays and sequences/streams. Faster algorithms on sorted data, also avoids multiple enumerations.
- Some statistics like Quantile or empirical inverse CDF can optionally return a parametric function when multiple evaluations are needed, like for plotting.
### Linear Algebra:
- More reasonable ToString behavior for matrices and vectors: `ToString` methods no longer render the whole structure to a string for large data, among others because they used to wreak havoc in debugging and interactive scenarios like F# FSI. Instead, ToString now only renders an excerpt of the data, together with a line about dimension, type and in case of sparse data a sparseness indicator. The intention is to give a good idea about the data in a visually useful way. How much data is shown can be adjusted in the Control class. See also ToTypeString and ToVector/MatrixString.
- Performance: reworked and tuned common parallelization. Some operations are up to 3 magnitudes faster in some extreme cases. Replaced copy loops with native routines. More algorithms are storage-aware (and should thus perform better especially on sparse data).
- Fixed range checks in the Thin-QR decomposition.
- Fixed bug in Gram Schmidt for solving tall matrices.
- Vectors now implement the BCL IList interfaces (fixed-length) for better integration with existing .Net code.
- Matrix/Vector parsing has been updated to be able to parse the new visual format as well (see ToMatrixString).
- DebuggerDisplay attributes for matrices and vectors.
- Map/IndexedMap combinators with storage-aware and partially parallelized implementations for both dense and sparse data.
- Reworked Matrix/Vector construction from arrays, enumerables, indexed enumerables, nested enumerables or by providing an init function/lambda. Non-obsolete constructors now always use the raw data array directly without copying, while static functions always return a matrix/vector independent of the provided data source.
- F#: Improved extensions for matrix and vector construction: create, zeroCreate, randomCreate, init, ofArray2, ofRows/ofRowsList, ofColumns/ofSolumnsList, ofSeqi/Listi (indexed). Storage-aware for performance.
- F#: Updated map/mapi and other combinators to leverage core implementation, added -nz variants where zero-values may be skipped (relevant mostly for sparse matrices).
- F#: Idiomatic slice setters for sub-matrices and sub-vectors
- F#: More examples for matrix/vector creation and linear regression in the F# Sample-package.
### Misc:
- Control: Simpler usage with new static ConfigureAuto and ConfigureSingleThread methods. Resolved misleading configuration logic and naming around disabling parallelization.
- Control: New settings for linear algebra ToString behavior.
- Fixed range check in the Xor-shift pseudo-RNG.
- Parallelization: Reworked our common logic to avoid expensive lambda calls in inner loops. Tunable.
- F#: Examples (and thus the NuGet Sample package) are now F# scripts prepared for experimenting interactively in FSI, instead of normal F# files. Tries to get the assembly references right for most users, both within the Math.NET Numerics solution and the NuGet package.
- Various minor improvements on consistency, performance, tests, xml docs, obsolete attributes, redundant code, argument checks, resources, cleanup, nuget, etc.