MathNet.Numerics.Signed 2.5.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Framework 4.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package MathNet.Numerics.Signed --version 2.5.0
NuGet\Install-Package MathNet.Numerics.Signed -Version 2.5.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.Signed" Version="2.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MathNet.Numerics.Signed --version 2.5.0
#r "nuget: MathNet.Numerics.Signed, 2.5.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.Signed as a Cake Addin
#addin nuget:?package=MathNet.Numerics.Signed&version=2.5.0

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

Math.NET Numerics, signed and thus with a strong name. We strongly discourage using this package and recommend using MathNet.Numerics instead, which is unsigned and weakly named.

Product Versions
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (16)

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

Package Downloads
NPOI The ID prefix of this package has been reserved for one of the owners of this package by

.NET port of Apache POI | Contact us on telegram:


Spreads top level library.

MathNet.Spatial.Signed The ID prefix of this package has been reserved for one of the owners of this package by

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. This package contains strong-named assemblies for legacy use cases (not recommended).


NCDK is C# implementation of the Chemistry Development Kit (CDK), which is an open-source library of algorithms for structural cheminformatics and bioinformatics.


Package Description

GitHub repositories (6)

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

Repository Stars
a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
Platform for Situated Intelligence
Series and Panels for Real-time and Exploratory Analysis of Data Streams
SolidWorks to URDF Exporter
To get started with NPOI, here is all the official examples.
Version Downloads Last updated
5.0.0 50,292 4/3/2022
5.0.0-beta02 94 4/3/2022
5.0.0-beta01 675 3/6/2022
5.0.0-alpha16 100 2/27/2022
5.0.0-alpha15 89 2/27/2022
5.0.0-alpha14 86 2/27/2022
5.0.0-alpha11 87 2/27/2022
5.0.0-alpha10 94 2/19/2022
5.0.0-alpha09 99 2/13/2022
5.0.0-alpha08 130 12/23/2021
5.0.0-alpha07 115 12/19/2021
5.0.0-alpha06 111 12/19/2021
5.0.0-alpha05 117 12/19/2021
5.0.0-alpha04 110 12/19/2021
5.0.0-alpha03 268 12/5/2021
5.0.0-alpha02 337 7/11/2021
5.0.0-alpha01 289 6/27/2021
4.15.0 675,359 1/7/2021
4.14.0 937 1/1/2021
4.13.0 579 12/30/2020
4.12.0 74,146 8/2/2020
4.11.0 10,024 5/24/2020
4.10.0 587 5/24/2020
4.9.1 19,044 4/12/2020
4.9.0 86,767 10/13/2019
4.8.1 86,223 6/11/2019
4.8.0 1,516 6/2/2019
4.8.0-beta02 495 5/30/2019
4.8.0-beta01 524 4/28/2019
4.7.0 215,571 11/11/2018
4.6.0 11,917 10/19/2018
4.5.0 88,229 5/22/2018
4.4.1 5,851 5/6/2018
3.20.2 17,439 1/22/2018
3.20.1 1,610 1/13/2018
3.20.0 20,148 7/15/2017
3.20.0-beta01 856 5/31/2017
3.19.0 14,080 4/29/2017
3.18.0 2,583 4/9/2017
3.17.0 6,398 1/15/2017
3.16.0 1,284 1/3/2017
3.15.0 1,096 12/27/2016
3.14.0-beta03 895 11/20/2016
3.14.0-beta02 886 11/15/2016
3.14.0-beta01 900 10/30/2016
3.13.1 16,909 9/6/2016
3.13.0 1,525 8/18/2016
3.12.0 4,460 7/3/2016
3.11.1 16,028 4/24/2016
3.11.0 61,752 2/13/2016
3.10.0 2,217 12/30/2015
3.9.0 2,508 11/25/2015
3.8.0 6,106 9/26/2015
3.7.1 1,380 9/21/2015
3.7.0 9,731 5/9/2015
3.6.0 2,925 3/22/2015
3.5.0 3,203 1/10/2015
3.4.0 1,260 1/4/2015
3.3.0 1,649 11/26/2014
3.3.0-beta2 1,032 10/25/2014
3.3.0-beta1 989 9/28/2014
3.2.3 5,476 9/6/2014
3.2.2 1,201 9/5/2014
3.2.1 1,557 8/5/2014
3.2.0 6,952 8/5/2014
3.1.0 3,833 7/20/2014
3.0.2 1,402 6/26/2014
3.0.1 1,253 6/24/2014
3.0.0 1,689 6/21/2014
3.0.0-beta05 1,071 6/20/2014
3.0.0-beta04 984 6/15/2014
3.0.0-beta03 1,038 6/5/2014
3.0.0-beta02 989 5/29/2014
3.0.0-beta01 1,240 4/14/2014
3.0.0-alpha9 1,128 3/29/2014
3.0.0-alpha8 1,057 2/26/2014
3.0.0-alpha7 1,036 12/30/2013
3.0.0-alpha6 1,099 12/2/2013
3.0.0-alpha5 1,055 10/2/2013
2.6.1 2,951 8/13/2013
2.6.0 1,329 7/26/2013
2.5.0 1,900 4/14/2013
2.4.0 1,299 2/3/2013
2.3.0 1,524 11/25/2012
2.2.1 1,822 8/29/2012

### 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.