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

Sech

Class

Calculates the hyperbolic secant of a number specified in radians, returning 1/cosh(angle).

Definition

Constructors

Initializes a new SECH function that calculates the hyperbolic secant of a radian value.

C#
public Sech()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

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

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

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the SECH function and returns the hyperbolic secant, checking for values that would cause numerical overflow.

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