MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / phase

Method phase

libraries/Complex/complex.h:36–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35 void polar(const float modulus, const float phase);
36 float phase() const { return atan2(im, re); };
37 float modulus() const { return hypot(re, im); };
38 // conjugate is the number mirrored in x-axis
39 Complex conjugate() const { return Complex(re, -im); };

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64