New to Telerik Document Processing? Start a free 30-day trial

Combin

Class

Implements the COMBIN function, which calculates the number of combinations for selecting items from a set without regard to order.

Definition

Constructors

Initializes a new COMBIN function instance for calculating combination counts using the binomial coefficient formula.

C#
public Combin()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Gets metadata describing the function's signature, category, and arguments.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Gets the function name used in formulas.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the number of combinations by computing the binomial coefficient and returns the result or an error if arguments are negative or invalid.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters:contextFunctionEvaluationContext<double>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<double>.EvaluateOverride(FunctionEvaluationContext<double>)