I have created a class for complex numbers and a constructor for the class which takes 2 doubles, like
Complex c = new Complex(3.0,1.0)
Then how do I compare a Complex number to 0? I know that I need to create a tolerance number, say
TOL = 1.0e-10
Do I just do this:
Complex NullComplex = new Complex(TOL,TOL);
c >= NullComplex;
I would like to get a boolean output from this. But whenever I want to compare, I get that the operators "=>" are undefined for the type double, Complex (or Complex, Complex)