New to Telerik Document ProcessingStart a free 30-day trial

Expression that raises a number to a power, representing the exponentiation operator (^).

Definition

Constructors

Initializes a new exponentiation expression with a base and exponent.

C#
public PowerExpression(RadExpression left, RadExpression right, Workbook workbook = null)
Parameters:leftRadExpression

The left.

rightRadExpression

The right.

workbookWorkbook

The workbook.

Methods

Calculates the power result, handling special cases for zero and negative bases.

C#
protected override RadExpression GetValueOverride(double[] operands)
Parameters:operandsdouble[]

The operands of type T.

Returns:

RadExpression

Value as RadExpression.

Overrides: BinaryOperatorExpression<double>.GetValueOverride(double[])

Properties

Gets the operator metadata for the exponentiation operator.

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

The operator info as OperatorInfo.

Overrides: OperatorExpression.OperatorInfo