New to Telerik Document Processing? Start a free 30-day trial

Median

Class

Implements the MEDIAN function, which calculates the middle value in a sorted set of numbers.

Definition

Constructors

Initializes a new instance of the MEDIAN function.

C#
public Median()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Gets the argument conversion rules.

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

The argument conversion rules.

Overrides: NumbersInFunction.ArgumentConversionRules

Gets the function info.

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

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Gets the name of the function.

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

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the MEDIAN function and returns the middle value of the sorted arguments.

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

The context.

Returns:

RadExpression

Functions result as RadExpression.

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