Class
Acos

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

Definition

Constructors

Acos()

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

Declaration

cs-api-definition
public Acos()

Fields

FunctionName

The name of the function.

Declaration

cs-api-definition
public static readonly string FunctionName

Field Value

string

Properties

FunctionInfo

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

Declaration

cs-api-definition
public override FunctionInfo FunctionInfo { get; }

Property Value

FunctionInfo

The function info as FunctionInfo.

Overrides FunctionBase.FunctionInfo

Name

Gets the function name "ACOS".

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

The name as String.

Overrides FunctionBase.Name

Methods

EvaluateOverride(FunctionEvaluationContext<double>)

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

Declaration

cs-api-definition
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)

Parameters

context

FunctionEvaluationContext<double>

The context.

Returns

RadExpression

Functions result as RadExpression.

Overrides FunctionWithSameTypeArguments<double>.EvaluateOverride(FunctionEvaluationContext<double>)