Mac Guides | Samples

MonoMac.OpenGL.MathHelper.BinomialCoefficient Method

Calculates the binomial coefficient n above k.

Syntax

public static Int64 BinomialCoefficient (Int32 n, Int32 k)

Parameters

n
The n.
k
The k.

Returns

n! / (k! * (n - k)!)

Requirements

Namespace: MonoMac.OpenGL
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0