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

Csc

Class

Implements the CSC function, which calculates the cosecant of an angle specified in radians.

Definition

Constructors

Initializes a new CSC function instance for computing cosecant values from radian angles.

C#
public Csc()

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 cosecant of the specified angle in radians and returns the result or an error if the angle is zero or exceeds limits.

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