public Complex Add(Complex rhs) { Complex ret = new Complex(CorePINVOKE.Complex_Add(swigCPtr, Complex.getCPtr(rhs)), false); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }