ClassGcd
Implements the GCD function, which finds the greatest common divisor of two or more integers.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Gcd : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionGcd
Inherited Members
Constructors
Gcd()
Initializes a new GCD function instance for finding common divisors in formulas.
Declaration
public Gcd()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Rules for converting and flattening arguments before evaluation.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules as ArgumentConversionRules.
Overrides
FunctionInfo
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>)
Virtual method evaluating the function with System.Object arguments array.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides