pow()
pow(\Complex\Complex|mixed $complex, float|integer $power) : \Complex\Complex
Returns a complex number raised to a power.
Parameters
\Complex\Complex|mixed | $complex | Complex number or a numeric value. |
float|integer | $power | The power to raise this value to |
Throws
- \Complex\Exception
If the power argument isn't a valid real
Returns
\Complex\Complex —The complex argument raised to the real power.