ComplexMathPow(Complex, Int32) Method |
Calculates x^n by repeated multiplications. The algorithm takes ld(n) multiplications.
This algorithm can also be used with negative n.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static Complex Pow(
Complex x,
int n
)
Parameters
- x Complex
- The complex base value.
- n Int32
- The integral exponent.
Return Value
ComplexThe value of
x raised to the power
n.
See Also