ClassSech
Calculates the hyperbolic secant of a number specified in radians, returning 1/cosh(angle).
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Sech : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionSech
Inherited Members
Constructors
Sech()
Initializes a new SECH function that calculates the hyperbolic secant of a radian value.
Declaration
public Sech()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Metadata describing the function signature, category, and argument requirements.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the SECH function and returns the hyperbolic secant, checking for values that would cause numerical overflow.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides