Sets or gets the class that you want to map to Mathematica's Complex numbers.
After setting ComplexType, you can use GetComplex to read an incoming integer, real, or Complex number as instance of your class, and you can use Put to send objects of your class to Mathematica as Complex.
To be suitable, the Type you specify must have have appropriate members. It must have each of the following:A constructor with one of these signatures:
(double re, double im) (float re, float im)A method with one of the following signatures:
double Re() double Real() float Re() float Real()OR, a property or field:
double Re double Real float Re float RealA method with one of the following signatures:
double Im() double Imag() double Imaginary() float Im() float Imag() float Imaginary()OR, a property or field:
double Im double Imag double Imaginary float Im float Imag float Imaginary
|ArgumentException||If the type does not have appropriate members as described above.|