Returns a sequence of powers of a real number.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static IEnumerable<double> Powers(
double value,
int endExponent
)
Public Shared Function Powers (
value As Double,
endExponent As Integer
) As IEnumerable(Of Double)
public:
static IEnumerable<double>^ Powers(
double value,
int endExponent
)
static member Powers :
value : float *
endExponent : int -> IEnumerable<float>
Parameters
- value
- Type: SystemDouble
The base of the powers. - endExponent
- Type: SystemInt32
The exclusive upper bound of the exponent range.
Return Value
Type:
IEnumerableDoubleAn
IEnumerableT of
Double yielding successive powers of
value starting with exponent 0.
Numerical Libraries
Supported in: 6.0, 5.x, 4.x
Reference