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

Acos

Class

Calculates the arccosine (inverse cosine) of a number and returns the angle in radians within the range 0 to π.

Definition

Constructors

Initializes a new ACOS function instance for computing inverse cosine values.

C#
public Acos()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Gets the metadata describing this function's category, arguments, and behavior.

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

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Gets the function name "ACOS".

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

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the arccosine of the numeric argument and returns the result, validating the input is within the range -1 to 1.

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