exp method
Implementation
MathComplex exp(){
if( _im == 0.0 ){
return floatToComplex( ClipMath.exp( _re ) );
}
double e = ClipMath.exp( _re );
return MathComplex(
e * ClipMath.cos( _im ),
e * ClipMath.sin( _im )
);
}
MathComplex exp(){
if( _im == 0.0 ){
return floatToComplex( ClipMath.exp( _re ) );
}
double e = ClipMath.exp( _re );
return MathComplex(
e * ClipMath.cos( _im ),
e * ClipMath.sin( _im )
);
}