Returns the binomial coefficients.

Namespace:  SingularSys.Jep.Functions
Assembly:  Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)

Syntax

C#
public static int Binom(
	int n,
	int i
)
Visual Basic (Declaration)
Public Shared Function Binom ( _
	n As Integer, _
	i As Integer _
) As Integer
Visual C++
public:
static int Binom(
	int n, 
	int i
)

Parameters

n
Type: System..::.Int32
i
Type: System..::.Int32

Return Value

Exceptions

ExceptionCondition
System..::.IndexOutOfRangeExceptionif n<0, i<0 or i>n

See Also