ClassImaginary
Extracts the imaginary coefficient from a complex number provided in x+yi or x+yj text format.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Imaginary : StringsInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<string>StringsInFunctionImaginary
Inherited Members
Constructors
Imaginary()
Initializes a new Imaginary function instance for extracting the imaginary component of complex numbers.
Declaration
public Imaginary()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Gets metadata describing the function's signature, parameters, and localization keys.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<string>)
Evaluates the function with the provided complex number argument and returns the imaginary coefficient as a number expression.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<string> context)
Parameters
context
FunctionEvaluationContext<string>
The context.
Returns
Functions result as RadExpression.
Overrides