RMC.Numerics 2.0.1

dotnet add package RMC.Numerics --version 2.0.1
                    
NuGet\Install-Package RMC.Numerics -Version 2.0.1
                    
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="RMC.Numerics" Version="2.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RMC.Numerics" Version="2.0.1" />
                    
Directory.Packages.props
<PackageReference Include="RMC.Numerics" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RMC.Numerics --version 2.0.1
                    
#r "nuget: RMC.Numerics, 2.0.1"
                    
#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.
#:package RMC.Numerics@2.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RMC.Numerics&version=2.0.1
                    
Install as a Cake Addin
#tool nuget:?package=RMC.Numerics&version=2.0.1
                    
Install as a Cake Tool

Numerics

CI NuGet License: BSD-3-Clause

Numerics is a free and open-source numerical computing library for .NET developed by the U.S. Army Corps of Engineers Risk Management Center (USACE-RMC). It provides methods and algorithms for probability distributions, statistical analysis, numerical methods, optimization, machine learning, and Bayesian MCMC sampling — with a focus on hydrological and risk assessment applications.

Supported Frameworks

Framework Version
.NET 10.0, 9.0, 8.0
.NET Framework 4.8.1

Install via NuGet:

dotnet add package RMC.Numerics

Or search for RMC.Numerics in the NuGet Package Manager.

Documentation

User Guide and API Documentation — Comprehensive documentation with code examples and mathematical explanations.

Section Topics
Mathematics Integration, differentiation, optimization, root finding, linear algebra, ODE solvers, special functions
Data Interpolation, linear regression, time series analysis
Statistics Descriptive statistics, goodness-of-fit metrics, hypothesis tests
Distributions 40+ univariate distributions, parameter estimation, uncertainty analysis, copulas, multivariate distributions
Machine Learning GLM, decision trees, random forests, KNN, naive Bayes, k-means, GMM
Sampling MCMC (RWMH, ARWMH, DE-MCz, HMC, NUTS, Gibbs), random generation, convergence diagnostics
References Consolidated bibliography

Support

USACE-RMC is committed to maintaining and supporting the library with regular updates, bug fixes, and enhancements.

The repository includes a unit testing library with over 1,000 tests that also serve as usage examples for the classes and methods in the library.

Contributing

Contributions are welcome. Please see CONTRIBUTING.md for guidelines on bug reports, feature requests, and pull requests.

License

See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.1 86 4/6/2026
2.0.0 73 4/6/2026
1.0.0 303 9/12/2024

This major update delivers broad improvements across the entire Numerics library, with substantial enhancements to data analysis, statistical modeling, numerical methods, distributions, optimization, machine learning utilities, and overall performance and reliability. The update reflects over a year of incremental development, code modernization, and refinement.