+ 1
Complex polar representation
https://www.sololearn.com/compiler-playground/cihqEV1SNv70 Hello all there, i make my own complex type in c and i can make sum, multiplication, division, find a module and the argument. I have almost everything for the polar representation. Any idea how could make the polar representation without doing something like |z|exp(arg(z))?
1 Odpowiedź
+ 2
you can use complex.h
https://code.sololearn.com/cMVdF6c6GsWM/?ref=app