Power function on โ #
We construct the power functions x ^ y, where x and y are complex numbers.
The complex power function x ^ y, given by x ^ y = exp(y log x) (where log is the
principal determination of the logarithm), unless x = 0 where one sets 0 ^ 0 = 1 and
0 ^ y = 0 for y โ 0.
Equations
Instances For
See also Complex.cpow_int_mul'.
A version of Complex.cpow_int_mul with RHS that matches Complex.cpow_mul.
The assumptions on the arguments are needed
because the equality fails, e.g., for x = -I, n = 2, y = 1/2.
A version of Complex.cpow_nat_mul with RHS that matches Complex.cpow_mul.
The assumptions on the arguments are needed
because the equality fails, e.g., for x = -I, n = 2, y = 1/2.
See also Complex.pow_cpow_ofNat_inv for a version that also works for x * I, 0 โค x.
Complex.inv_cpow_eq_ite with the ite on the other side.