Skip to content

Repository files navigation

Numerics

CIJOSSDOINuGetLicense: 0BSD

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

FrameworkVersion
.NET10.0, 9.0, 8.0
.NET Framework4.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.

SectionTopics
MathematicsIntegration, differentiation, optimization, root finding, linear algebra, ODE solvers, special functions
DataInterpolation, linear regression, time series analysis
StatisticsDescriptive statistics, goodness-of-fit metrics, hypothesis tests
Distributions40+ univariate distributions, parameter estimation, uncertainty analysis, copulas, multivariate distributions
Machine LearningGLM, decision trees, random forests, KNN, naive Bayes, k-means, GMM
SamplingMCMC (RWMH, ARWMH, DE-MCz, HMC, NUTS, Gibbs), random generation, convergence diagnostics
ReferencesConsolidated bibliography

Prerequisites

  • .NET 8+ runtime (or .NET Framework 4.8.1 on Windows). Install the .NET SDK if you don't already have it.
    • Microsoft .NET SDK 10.1.326.7603 is available on the App Portal for Corps users

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.

About

Numerics is a free and open-source library for .NET developed by USACE-RMC, providing a comprehensive set of methods and algorithms for numerical computations and statistical analysis.

Topics

Resources

Code of conduct

Contributing

Stars

32 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages