3 ms·
You need some way to cope with operations that don’t have real results for some values, such as log and sqrt of negative numbers
by fanf2 6y ago
You need some way to cope with operations that don’t have real results for some values, such as log and sqrt of negative numbers
- molyss 6y agoyou can just represent those as a pair of real numbers, one for the real part, and one for the imaginary part. As long as you only (recursively) apply exponential and trig functions on those numbers, I believe you'll stay within the realm of complex numbers.