Commit 83f4fe10 authored by BRAMAS Berenger's avatar BRAMAS Berenger

Add a division method

parent 38091310
......@@ -179,6 +179,13 @@ public:
return *this;
}
/** Mul a complexe by another "c*=c2" */
FComplexe& operator/=(const FReal& real){
this->complex[0] /= real;
this->complex[1] /= real;
return *this;
}
/** Test if a complex is not a number */
bool isNan() const {
return FMath::IsNan(complex[1]) || FMath::IsNan(complex[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment