a library to represent real and complex numbers. This is being used by other EMDD libraries such as EMDD.KtMatrix
Visual Studio 16.8 or greater
.Net 5.0.102 sdk or greater
- Numbers can either be represented by
KtRealNumber
andKtComplex
both inheriting from an abstract base classEMDD.KtNumerics.Number
. This gives us the ability to use this number types when doing much more advanced Math Operations such as Matrix operations on not just real numbers, but also Complex numbers.
- it has an internal get only property of type
double
which holds the actual numeric value.
- two values, real and imaginary coeff, are stored internally.
- the base class
EMDD.KtNumerics.Number
can be used for basic arithmetic ops such as adding, subtracting, multiplying and dividing (with the corresponding static operators).