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

GEStep

Class

Tests whether a numeric value meets or exceeds a threshold and returns 1 if true or 0 otherwise, useful for filtering and counting values that exceed a threshold through summation.

Definition

Constructors

Initializes a new GESTEP function instance for testing if values meet or exceed a threshold.

C#
public GEStep()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Rules governing how argument values are interpreted and converted during function evaluation.

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

The argument conversion rules as ArgumentConversionRules.

Overrides: NumbersInFunction.ArgumentConversionRules

Metadata describing the function signature, category, and argument requirements.

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

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

The function name "GESTEP" used in formulas.

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

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the threshold comparison and returns 1 if the number meets or exceeds the step value, or 0 otherwise.

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>)