ClassSqrtPi
Calculates the square root of a number multiplied by Pi, returning sqrt(number × π) for geometric calculations.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class SqrtPi : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionSqrtPi
Inherited Members
Constructors
SqrtPi()
Initializes a new SQRTPI function that calculates the square root of a number times Pi.
Declaration
public SqrtPi()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Conversion rules specifying that the function converts arguments to numbers but does not accept boolean values.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules.
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 SQRTPI function and returns sqrt(number × π), checking for negative inputs.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides