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

Cos

Class

Implements the COS function, which calculates the cosine of an angle specified in radians.

Definition

Constructors

Initializes a new COS function instance for computing cosine values from radian angles.

C#
public Cos()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

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

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

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Gets the function name used in formulas.

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

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the cosine of the specified angle in radians and returns the result as a numeric expression.

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