Elementary.Powers(Double, Int 32) Method
Returns a sequence of powers of a real number.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
An IEnumerable<T> of Double yielding successive powers of value starting with exponent 0.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static IEnumerable<double> Powers(
double value,
int endExponent
)
Parameters
- value Double
- The base of the powers.
- endExponent Int32
- The exclusive upper bound of the exponent range.
Return Value
IEnumerable<Double>An IEnumerable<T> of Double yielding successive powers of value starting with exponent 0.