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
)
Public Shared Function BinomialCoefficients (
n As Integer
) As IEnumerable(Of Double)
public:
static IEnumerable<double>^ BinomialCoefficients(
int n
)
static member BinomialCoefficients :
n : int -> IEnumerable<float>
Parameters
- n
- Type: SystemInt32
The upper argument, which must be non-negative.
Return Value
Type:
IEnumerableDoubleAn enumeration of the binomial coefficients in the nth row of Pascal's triangle.
Exceptions See Also