Click or drag to resize

AdvancedIntegerMathBinomialCoefficients Method

Enumerates the binomial coefficients of a given order.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static IEnumerable<double> BinomialCoefficients(
	int n
)

Parameters

n
Type: SystemInt32
The upper argument, which must be non-negative.

Return Value

Type: IEnumerableDouble
An enumeration of the binomial coefficients in the nth row of Pascal's triangle.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionn is negative.
See Also