ClassCombin
Implements the COMBIN function, which calculates the number of combinations for selecting items from a set without regard to order.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Combin : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionCombin
Inherited Members
Constructors
Combin()
Initializes a new COMBIN function instance for calculating combination counts using the binomial coefficient formula.
Declaration
public Combin()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Gets metadata describing the function's signature, category, and arguments.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the number of combinations by computing the binomial coefficient and returns the result or an error if arguments are negative or invalid.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides