AdvancedIntegerMathBinomialCoefficients Method

Enumerates the binomial coefficients of a given order.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static IEnumerable<double> BinomialCoefficients(
	int n
)

Parameters

n  Int32
The upper argument, which must be non-negative.

Return Value

IEnumerableDouble
An enumeration of the binomial coefficients in the nth row of Pascal's triangle.

Exceptions

See Also