Blog

Posts Tagged ‘complex number c#’

Complex numbers in .NET with NMath

Monday, December 7th, 2009

A set of classes for working with complex numbers is not including in the .NET framework. These classes are frequently hand rolled by programmers to fill an immediate need, but this forces the developer into an on-going task developing compatible numeric algorithms with these custom classes. CenterSpace’s NMath libraries solve this issue by providing a framework with an extensive set of numeric classes that work natively with complex numbers.

Complex Number Classes

The CenterSpace NMath framework contains two classes to represent complex numbers at two different levels of precision. Additionally, classes are included for supporting vectors and matrices of complex numbers which are integrated into NMath’s extensive linear algebra classes.

FloatComplex
DoubleComplex
FloatComplexVector
DoubleComplexVector
FloatComplexMatrix
DoubleComplexMatrix

Each class supports a natural set of overloaded operations (more…)

Share