/CNum

A simple complex number implementation.

Primary LanguageJava

CNum

A simple complex number implementation.

How it works

The simple complex number package is split into two parts,

  • CNumPol CNumPol is the polar representation of the complex number. It has all base operations (+, -, *, /), and can even add with the rectangular form. However this is with the seperate class, CNumOP.
  • CNumRect CNumRect is the rectangular representation of the complex number. It has all base operations (+, -, *, /), and can even add with the polar form. However this is with the seperate class, CNumOP.