MIT License

项目介绍

mathnet/mathnet-numerics 是一个托管在 GitHub 上的开源项目,主要使用 C# 编写,采用 MIT License 许可证,目前获得 3.8k 个 Star、937 次 Fork。

仓库全名
mathnet/mathnet-numerics
开源许可证
MIT License
Star 数
3.8k
Fork 数
937
未关闭 Issue
334

README 摘要

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,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

mathnet-numerics 用什么语言开发?

主要使用 C# 编写,采用 MIT License 许可证,目前有 3.8k 个 Star。

mathnet-numerics 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 mathnet-numerics 的源码?

可以直接克隆仓库:git clone https://github.com/mathnet/mathnet-numerics.git,默认分支为 master;安装与运行步骤见仓库 README。

mathnet-numerics 最近还在维护吗?

仓库最近一次更新为 2025年3月4日,当前有 334 个未关闭 Issue;Star 数为 3.8k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Math.NET Numerics

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Batchfile
C
C#
C++
CSS
F#
JavaScript
Shell

README

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!

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 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): 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.

评论

暂无评论