# Why choose us over NMath?

The tables below compare the functionality in Numerics.NET with the functionality of NMath from Centerspace Software.

## Mathematics

### Calculus

Feature Centerspace NMath Extreme Numerics.NET
One-dimensional integration
Romberg method &#10003 &#10003
Integration over infinite intervals &#10006 &#10004
Integration intervals with singularities &#10006 &#10004
Higher-dimensional integration
Two-dimensional integration &#10003 &#10003
Repeated 1D integration &#10003 &#10003
3 and higher dimensional integration &#10006 &#10003
Differential equations
4th order Runge-Kutta &#10003 &#10003
4/5th order adaptive Runge-Kutta &#10003 &#10003
Stiff systems &#10006 &#10003
Numerical differentiation
Numerical first derivative &#10003 &#10003
Numerical Jacobian &#10006 &#10003
Symbolic differentiation
Symbolic first derivative &#10006 &#10003
Symbolic Jacobian &#10006 &#10003

### Optimization

Feature Centerspace NMath Extreme Numerics.NET
One-dimensional optimization
Golden section method &#10003 &#10003
Brent's method &#10003 &#10003
Brent's method with derivative &#10003 &#10003
N-dimensional unconstrained optimization
Powell's method &#10003 &#10003
Quasi-Newton methods &#10003 &#10003
Simulated annealing &#10003 &#10006
Symbolic objective function with automatic symbolic gradient &#10006 &#10003
N-dimensional constrained optimization
Linear Programming &#10003 &#10003
Max. number of constraints 100's 10,000's
Max. number of variables 100's 10,000's
Mixed Integer Programming &#10006 &#10003
Nonlinear Programming &#10003 &#10003
Symbolic objective function with
&#10006 &#10003
Symbolic constraints with
&#10006 &#10003

### Curve Fitting and Interpolation

Feature Centerspace NMath Extreme Numerics.NET
Linear curve fitting
Polynomial fitting &#10003 &#10003
Chebyshev polynomial fitting &#10006 &#10003
Combinations of arbitrary functions fitting &#10006 &#10003
Non-linear curve fitting
Levenberg-Marquardt algorithm &#10003 &#10003
Number of built-in nonlinear functions 5 7
Symbolic calculation of partial derivatives &#10006 &#10003
Interpolation
Piecewise constant interpolation &#10006 &#10003
Piecewise linear interpolation &#10003 &#10003
Natural and clamped cubic splines &#10003 &#10003
Cubic Hermite splines &#10006 &#10003
Akima splines &#10006 &#10003
Interpolating Chebyshev polynomial &#10006 &#10003

## Statistics

### Regression Analysis

Feature Centerspace NMath Extreme Numerics.NET
Simple regression &#10003 &#10003
Linearized curve fitting &#10006 &#10003
Multiple linear regression &#10003 &#10003
Polynomial regression &#10003 &#10003
Stepwise regression &#10006 &#10003
Logistic regression &#10006 &#10003
Ordinal Logistic regression &#10006 &#10003
Generalized Linear Models &#10006 &#10003

### Multivariate Analysis

Feature Centerspace NMath Extreme Numerics.NET
Clustering
Hierarchical clustering &#10003 &#10003
Fast Nearest Neighbour algorithm &#10006 &#10003
Dendrograms &#10006 &#10003
Number of linkage methods 7 7
Number of distance measures 5 20
K-Means clustering &#10003 &#10003
Factor Analysis and Principal Component Analysis
Principal Component Analysis &#10003 &#10003
Factor Analysis &#10003 &#10003
Number of extraction methods 1 7
Number of rotation methods 2 5

### Hypothesis Tests

Feature Centerspace NMath Extreme Numerics.NET
Anderson-Darling test &#10003 &#10003
Bartlett's test of equal variances &#10006 &#10003
Chi-square goodness-of fit test &#10003 &#10003
Chi-sqaure test for variance &#10006 &#10003
Contingency tables &#10006 &#10003
Chi-square test &#10006 &#10003
Likelihood ratio test &#10006 &#10003
Mantel-Haenszel test &#10006 &#10003
F test for ratio of variances &#10003 &#10003
One-sample Kolmogorov-Smirnov test &#10003 &#10003
Two-sample Kolmogorov-Smirnov test &#10003 &#10003
Kruskal-Wallis test &#10003 &#10003
Levene's test of equal variances &#10006 &#10003
Mann-Whitney test &#10006 &#10003
McNemar test &#10006 &#10003
Runs test &#10006 &#10003
Shapiro-Wilk test &#10003 &#10003
Stewart-Maxwell test &#10006 &#10003
One-sample t test &#10003 &#10003
Two-sample t test &#10003 &#10003
One-sample z test &#10006 &#10003
Two-sample z test &#10006 &#10003

### Probability distributions

Feature Centerspace NMath Extreme Numerics.NET
Discrete distributions
Bernoulli distribution &#10006 &#10003
Binomial distribution &#10003 &#10003
Geometric distribution &#10003 &#10003
Hypergeometric distribution &#10006 &#10003
Log series distribution &#10006 &#10003
NegativeBinomial distribution &#10003 &#10003
Poisson distribution &#10003 &#10003
Uniform distribution &#10003 &#10003
Continuous distributions
Beta distribution &#10003 &#10003
Cauchy distribution &#10006 &#10003
Chi Square distribution &#10003 &#10003
Erlang distribution &#10006 &#10003
Exponential distribution &#10003 &#10003
F distribution &#10003 &#10003
Gamma distribution &#10003 &#10003
Generalized Pareto distribution &#10006 &#10003
Gumbel distribution &#10006 &#10003
Inverse Gaussian distribution &#10006 &#10003
Johnson distribution &#10003 &#10006
Laplace distribution &#10006 &#10003
Logistic distribution &#10003 &#10003
Log-logistic distribution &#10006 &#10003
Log-normal distribution &#10003 &#10003
Maxwell distribution &#10006 &#10003
Normal distribution &#10003 &#10003
Pareto distribution &#10003 &#10003
Rayleigh distribution &#10006 &#10003
Student t distribution &#10003 &#10003
Transformed Beta distribution &#10006 &#10003
Transformed Gamma distribution &#10006 &#10003
Triangular distribution &#10003 &#10003
Uniform distribution &#10003 &#10003
Weibull distribution &#10003 &#10003
Multivariate distributions
Dirichlet distribution &#10006 &#10003
Multivariate normal distribution &#10006 &#10003
Wishart distribution &#10006 &#10003