Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mathnet-numerics

> 编程语言
Open source

Math.NET Numerics

3.8K stars0 likes0 views
WebsiteGitHub

About

Math.NET Numerics

Math.NET Numerics

Math.NET Numerics is an opensource numerical library for .NET and Mono.

Math.NET Numerics is the numerical foundation of the Math.NET initiative, aiming to provide methods and algorithms for numerical computations in science, engineering and every day use. Covered topics include special functions, linear algebra, probability models, random numbers, statistics, interpolation, integration, regression, curve fitting, integral transforms (FFT) and more.

In addition to the core .NET package (which is written entirely in C#), Numerics specifically supports F# with idiomatic extension modules and maintains mathematical data structures like BigRational that originated in the F# PowerPack. If a performance boost is needed, the managed-code provider backing its linear algebra routines and decompositions can be exchanged with wrappers for optimized native implementations such as Intel MKL.

Math.NET Numerics is covered under the terms of the MIT license. You may therefore link to it and use it in both opensource and proprietary software projects. We accept contributions!

  • Project Website
  • Source Code
  • NuGet & Binaries | Release Notes
  • Documentation | API Reference
  • Issues & Bugs | Ideas
  • Discussions | Stack Overflow | Twitter
  • Wikipedia | OpenHUB

Current Version

Math.NET Numerics
MKL Native Provider
OpenBLAS Native Provider
Data Extensions

Installation Instructions

The recommended way to get Math.NET Numerics is to use NuGet. The following packages are provided and maintained in the public NuGet Gallery.

Core Package:

  • MathNet.Numerics
  • MathNet.Numerics.FSharp - optional extensions for a better F# experience. BigRational.

Intel MKL Provider (optional):

  • MathNet.Numerics.Providers.MKL - Binding to Native Intel MKL provider.
  • MathNet.Numerics.MKL.Win - Native Intel MKL provider (Windows).
  • MathNet.Numerics.MKL.Win-x86 - Native Intel MKL provider (Windows/32-bit only).
  • MathNet.Numerics.MKL.Win-x64 - Native Intel MKL provider (Windows/64-bit only).

Data/IO Packages for reading and writing data (optional):

  • MathNet.Numerics.Data.Text - Text-based matrix formats like CSV and MatrixMarket.
  • MathNet.Numerics.Data.Matlab - MATLAB Level-5 matrix file format.

Platform Support and Dependencies

Supported Platforms:

  • .NET 5.0 or higher (Package includes builds for 5.0 and 6.0)
  • .NET Framework 4.6.1 or higher (Package includes builds for 4.6.1 and 4.8)
  • .NET Standard 2.0 or higher (Package includes builds for 2.0)

For full details, dependencies and platform discrepancies see Platform Compatibility.

Building Math.NET Numerics

Windows (.NET):

You can build Math.NET Numerics with an IDE like VisualStudio or JetBrains Rider, with MsBuild, .NET CLI tools or with FAKE (recommended).

FAKE:

./build.sh build (or build.cmd)
./build.sh test

.NET CLI:

./restore.sh (or restore.cmd)
dotnet build MathNet.Numerics.sln

MsBuild/XBuild:

./restore.sh (or restore.cmd)
msbuild MathNet.Numerics.sln

See Build & Tools for full details on how to build, generate documentation or even create a full release.

GitHub Issues· 334 open

View all on GitHub
  • #11

    complex eigenvalue decomposition bug

    BUGUpdated Jun 30, 2026
  • #382

    Sort Sparse Matrix By Given Column Index Order

    Updated Jun 29, 2026
  • #650

    Correlation.Spearman returns NaN

    Updated Jun 29, 2026
  • #1153

    Precision.Increment/Decrement(value, int.MinValue) throws StackOverflowException (infinite recursion)

    Updated Jun 28, 2026
  • #603

    multidim fourier transforms error

    ready for implementationUpdated May 28, 2026
  • #1152

    Remove support for .NET 4.61 in .NET Standard

    Updated May 1, 2026
  • #1150

    ManagedFourierTransformProvider.ForwardMultidim throws NotSupportedException

    Updated Apr 13, 2026
  • #1147

    Publish a stable 6.0.0 release (without prerelease suffix)

    Updated Feb 4, 2026
  • #320

    Error in sampling from Negative Binomial

    Updated Feb 1, 2026

Highlights

  • •Project Website
  • •Source Code
  • •NuGet & Binaries | Release Notes
  • •Documentation | API Reference
  • •Issues & Bugs | Ideas
  • •Discussions | Stack Overflow | Twitter
  • •Wikipedia | OpenHUB
  • •MathNet.Numerics
  • •MathNet.Numerics.FSharp - optional extensions for a better F# experience. BigRational.
  • •MathNet.Numerics.Providers.MKL - Binding to Native Intel MKL provider.

> Tags

C#csharpdifferentiationfftfsharp

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言