Math.NET Numerics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Christoph Ruegg e989ab7302 Providers include invisible, fix casing of ".NET" in a few places 4 years ago
.config Update paket 4 years ago
.github Create dependabot.yml 5 years ago
.paket Update paket 4 years ago
build Providers include invisible, fix casing of ".NET" in a few places 4 years ago
data changed the test data to fit the new signatures 7 years ago
docs Providers: change provider binary names and loading to be closer to conventions 4 years ago
examples Build with .NET 5 SDK, add net5.0, drop netstandard1.*, for F# drop 4.5 5 years ago
src Providers include invisible, fix casing of ".NET" in a few places 4 years ago
tools/docu Tools: drop old NBenchmark 9 years ago
.editorconfig Cosmetics: fix trailing whitespace 9 years ago
.gitattributes Docs: update pakages, users 11 years ago
.gitignore Fake & FsDocs migration (WIP) 4 years ago
.mailmap Repo: add mailmap entry for grovesNL #333 11 years ago
CONTRIBUTING.md Docs: enforce https on all links 6 years ago
CONTRIBUTORS.md Update contributors 5 years ago
Directory.Build.props Project files: simplify build constants 4 years ago
LICENSE.md License: remove header in hope that GitHub can properly recognize it 5 years ago
MathNet.Numerics.ATLAS.sln Build: separate solution for ATLAS 8 years ago
MathNet.Numerics.CUDA.sln Providers: native provider packages shall depend on provider loader package 4 years ago
MathNet.Numerics.MKL.sln Cleanup, update deps 4 years ago
MathNet.Numerics.OpenBLAS.sln Providers: native provider packages shall depend on provider loader package 4 years ago
MathNet.Numerics.sln Providers: change provider binary names and loading to be closer to conventions 4 years ago
MathNet.Numerics.sln.DotSettings Cleanups 5 years ago
NativeProviders.txt updated ACML instructions 15 years ago
NuGet.config Build: NuGet 5 years ago
README.md Providers include invisible, fix casing of ".NET" in a few places 4 years ago
RELEASENOTES-CUDA.md Native: prepare build integration for CUDA native provider 11 years ago
RELEASENOTES-Data.md Providers include invisible, fix casing of ".NET" in a few places 4 years ago
RELEASENOTES-MKL.md Release MKL Provider 3.0.0-beta2 4 years ago
RELEASENOTES-OpenBLAS.md Release OpenBLAS Native Provider v0.2.0 (rev 1, linear algebra v1.0) 10 years ago
RELEASENOTES.md Providers include invisible, fix casing of ".NET" in a few places 4 years ago
Vagrantfile Vagrant: now with official Ubuntu 14.04 LTS; mono/fsharp apt-provisioning 12 years ago
appveyor.yml Build with .NET 5 SDK, add net5.0, drop netstandard1.*, for F# drop 4.5 5 years ago
build.cmd Fake & FsDocs migration (WIP) 4 years ago
build.fsx Providers include invisible, fix casing of ".NET" in a few places 4 years ago
build.sh Fake & FsDocs migration (WIP) 4 years ago
global.json Build with .NET 5 SDK, add net5.0, drop netstandard1.*, for F# drop 4.5 5 years ago
paket.dependencies Fake & FsDocs migration (WIP) 4 years ago
paket.lock Fake & FsDocs migration (WIP) 4 years ago
restore.cmd Use paket as local tool instead of bootstrapper 4 years ago
restore.sh Use paket as local tool instead of bootstrapper 4 years ago
vagrant-bootstrap.sh Build: updated vagrant bootstrap to use newest xamarin mono packages 11 years ago

README.md

Math.NET Numerics

Math.NET Numerics is an opensource numerical library for .NET, Silverlight 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/X11 license. You may therefore link to it and use it in both opensource and proprietary software projects. We accept contributions!

Current Version

Math.NET Numerics Version Math.NET Numerics
MKL Native Provider Version MKL Native Provider
OpenBLAS Native Provider Version OpenBLAS Native Provider
Data Extensions Version 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)
  • .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): AppVeyor build status

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.