Returns a sequence of powers of a real number.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
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.
Reference