Click here to Skip to main content Click here to Skip to main
content  A C# Class to Perform Arithmetic on Complex Numbers  ,
14 Nov 2007 CPOL Rate this: Please Sign up or sign in to vote. A
C# class to perform arithmetic on complex numbers   Although the
C# language has been used quite successfully in many kinds of
projects, it still remains to be proven proficient for
scientific computing. Questions remain as to whether or not C#
can measure up to the likes of FORTRAN and C++ for scientific
and mathematical projects.  Complex Arithmetic  Arithmetic and
algebra on complex numbers is important in many fields of
science and engineering. Even though C# does not support an
intrinsic complex number data type, it doesn't stop you from
creating your own. You can do so using a struct, which has value
semantics. The purpose of this article is to present my attempt
to fashion a complex arithmetic class for C#.  Using the Code
The struct Complex is completely contained within the namespace
ComplexMath in the file Comp