NM Dev tutorial guide

Start with Getting Started, then work through the tutorials in this order.

Tutorial Runnable class in dev.nm.examples
Cholesky factorization in Java CholeskyExample
Root finding by bisection in Java RootFindingExample
Linear interpolation in Java InterpolationExample
Normal probabilities and quantiles in Java NormalProbabilityExample
Ordinary least squares regression in Java LinearRegressionExample
Constrained quadratic programming in Java QuadraticProgrammingExample

More practical examples

Tutorial Runnable class in dev.nm.examples
Solve a linear system without an inverse LinearSolveExample
Least squares with QR and SVD LeastSquaresExample
Principal component analysis with SVD PCAExample
Numerical integration with Simpson quadrature IntegrationExample
Unconstrained optimization with BFGS UnconstrainedOptimizationExample

Also see the copied starter project guide, source provenance and validation notes.

Every tutorial explains the problem, mathematical formulation, API calls, expected results, assumptions and an exercise. Run all eleven with:

mvn exec:java -Dexec.mainClass=dev.nm.examples.RunAllExamples