Let's get started started with a very simple example using complex numbers.
Complex x = new Complex(1.0, 1.0);
Complex y = 2.0 * x.Conjugate + 1.0;
Complex z = x / y;
Note that the Complex type supports all the usual arithmetic operations, including mixed operations with other arithmetic types.
All the static functions of real numbers offered by System's Math class are offered for complex numbers by Meta.Numerics's ComplexMath class:
Complex z = ComplexMath.I;
Complex sz = ComplexMath.Sqrt(z);
Complex ez = ComplexMath.Exp(Math.PI * z);
Further chapters cover the rich functionality of the Meta.Numerics library in other areas: