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

Method c_log

libraries/Complex/complex.cpp:163–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162
163Complex Complex::c_log() const
164{
165 float m = modulus();
166 float p = phase();
167 if (p > PI) p -= 2 * PI;
168 return Complex(log(m), p);
169}
170
171
172Complex Complex::c_pow(const Complex &c) const

Callers 6

c_lognMethod · 0.80
gonioHelper1Method · 0.80
c_atanMethod · 0.80
gonioHelper2Method · 0.80
c_atanhMethod · 0.80
unittestFunction · 0.80

Calls 1

ComplexClass · 0.85

Tested by 1

unittestFunction · 0.64