ClassCos
Implements the COS function, which calculates the cosine of an angle specified in radians.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Cos : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionCos
Inherited Members
Constructors
Cos()
Initializes a new COS function instance for computing cosine values from radian angles.
Declaration
public Cos()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Gets metadata describing the function's signature, category, and arguments.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the cosine of the specified angle in radians and returns the result as a numeric expression.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides