Sec
Class
Calculates the secant of an angle specified in radians, returning 1/cos(angle).
Definition
Namespace:Telerik.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
C#
public class Sec : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionSec...
Inherited Members
Constructors
Initializes a new SEC function that calculates the secant of a radian angle.
C#
public Sec()
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; }
The function info as FunctionInfo.
Overrides:
Methods
Evaluates the SEC function and returns the secant of the angle, checking for values that would cause numerical overflow.
C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
The context.
Returns:Functions result as RadExpression.
Overrides: