Click or drag to resize
MoreMathPow Method
Rasises an argument to an integer power.

Namespace:  Meta.Numerics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public static double Pow(
	double x,
	int n
)

Parameters

x
Type: SystemDouble
The argument.
n
Type: SystemInt32
The power.

Return Value

Type: Double
The value of xn.
Remarks

Low integer powers can be computed by optimized algorithms much faster than the general alrogithm for an arbitrary real power employed by Pow(Double, Double).

See Also