| Vector Examples | Description | Source |
|---|---|---|
| VectorExample | Example showing some of the basic functionality of the vector classes. | C# VB.NET |
| VectorArithmeticExample | Example showing the element-wise operators overloaded for vector/vector and vector/scalar operations. | C# VB.NET |
| VectorRangeExample | Example showing how to use the indexing class Range with the vector classes. | C# VB.NET |
| VectorSliceExample | Example showing how to use the indexing class Slice with the vector classes. | C# VB.NET |
| Matrix Examples | Description | Source |
|---|---|---|
| MatrixExample | Example showing some of the basic functionality of the matrix classes. | C# VB.NET |
| MatrixArithmeticExample | Example showing the element-wise operators overloaded for matrix/matrix and matrix/scalar operations. | C# VB.NET |
| MatrixRangeExample | Example showing how to use the indexing class Range with the matrix classes. | C# VB.NET |
| MatrixSliceExample | Example showing how to use the indexing class Slice with the matrix classes. | C# VB.NET |
| Functions of Vectors and Matrices | Description | Source |
|---|---|---|
| NMathFunctionsExample | Example showing some of the functionality of the NMathFunctions class. | C# VB.NET |
| ApplyTransformExample | Example showing how to use the matrix and vector Apply() and Tranform() methods. |
C# VB.NET |
| Factorization Examples | Description | Source |
|---|---|---|
| LUFactorizationExample | Example showing how to use the LU factorization classes to solve linear systems, and to compute matrix inverses, condition numbers, and determinants. | C# VB.NET |
| Least Squares Examples | Description | Source |
|---|---|---|
| LeastSquaresExample | Example showing how to use the least squares classes to solve linear least squares problems. | C# VB.NET |
| Random Number Examples | Description | Source |
|---|---|---|
| RandomNumberExample | Example showing how to generate random number from a normal distribution, using the class RandGenNormal, and place them in a Histogram. | C# VB.NET |
| AdvancedRNGExample | Example showing how to create a random number generator for a particular probability distribution using a specified uniform deviate method. | C# VB.NET |
| MonteCarloRNGExample | Example showing how to calculate an approximation for Pi using a Monte Carlo method and the uniform random number generator class RandGenUniform. | C# VB.NET |
| Calculus Examples | Description | Source |
|---|---|---|
| OneVariableFunctionExample | Example showing how to create and manipulate functions of one variable. | C# VB.NET |
| PolynomialExample | Example showing how to create and manipulate Polynomial objects. | C# VB.NET |
| AdvNumericalIntegrationExample | Example showing how to create integrator objects for greater control over how numerical integration is performed. | C# VB.NET |
| AdvNumericalDifferentiationExample | Example showing how to create differentiator objects for greater control over how numerical differentiation is performed. | C# VB.NET |
| Misc. Examples | Description | Source |
|---|---|---|
| CurrencyExample | Example showing how to read and write vectors of currencies. | C# VB.NET |
| MissingValuesExample | Example showing how to perform statistical operations on matrices containing missing data. | C# VB.NET |
| DatabaseExample | Example showing how to use ADO.NET data structures with matrices. | C# VB.NET |
| BinarySerializationExample | Example showing how to serialize and deserialize an NMath Core object in binary format. | C# VB.NET |
| SoapSerializationExample | Example showing how to serialize and deserialize an NMath Core object in SOAP format. | C# VB.NET |