ClassDelta
Tests whether two numeric values are equal and returns 1 if they match or 0 otherwise, useful for filtering and counting matching pairs through summation of multiple DELTA results.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Delta : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionDelta
Inherited Members
Constructors
Delta()
Initializes a new DELTA function instance for testing numeric equality.
Declaration
public Delta()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Rules governing how argument values are interpreted and converted during function evaluation.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules as ArgumentConversionRules.
Overrides
FunctionInfo
Metadata describing the function signature, category, and argument requirements.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the equality comparison and returns 1 if the values are equal or 0 if they differ.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides