No Tribble At All
From Huben's Wiki
Line 8: | Line 8: | ||
a * b = (a<sub>real</sub> * b<sub>real</sub> - a<sub>imag</sub> + b<sub>imag</sub>) + (a<sub>real</sub> * b<sub>imag</sub> + a<sub>imag</sub> + b<sub>real</sub>) | a * b = (a<sub>real</sub> * b<sub>real</sub> - a<sub>imag</sub> + b<sub>imag</sub>) + (a<sub>real</sub> * b<sub>imag</sub> + a<sub>imag</sub> + b<sub>real</sub>) | ||
+ | |||
+ | b. conjugate = b<sub>real</sub> - b<sub>imag</sub> | ||
a / b = (a * b.conjugate) / (b * b.conjugate) // note that b * b.conjugate is a real number, not complex. | a / b = (a * b.conjugate) / (b * b.conjugate) // note that b * b.conjugate is a real number, not complex. |