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

SqrtPi

Class

Calculates the square root of a number multiplied by Pi, returning sqrt(number × π) for geometric calculations.

Definition

Constructors

Initializes a new SQRTPI function that calculates the square root of a number times Pi.

C#
public SqrtPi()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Conversion rules specifying that the function converts arguments to numbers but does not accept boolean values.

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

The argument conversion rules.

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 "SQRTPI" as it appears in spreadsheet formulas.

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

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the SQRTPI function and returns sqrt(number × π), checking for negative inputs.

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