New to Telerik Document ProcessingStart a free 30-day trial

Extracts the imaginary coefficient from a complex number provided in x+yi or x+yj text format.

Definition

Constructors

Initializes a new Imaginary function instance for extracting the imaginary component of complex numbers.

C#
public Imaginary()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the function with the provided complex number argument and returns the imaginary coefficient as a number expression.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<string> context)
Parameters:contextFunctionEvaluationContext<string>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<string>.EvaluateOverride(FunctionEvaluationContext<string>)

Properties

Gets metadata describing the function's signature, parameters, and localization keys.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Gets the function name used in formula expressions.

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

The name as String.

Overrides: FunctionBase.Name