ClassPowerExpression
Expression that raises a number to a power, representing the exponentiation operator (^).
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class PowerExpression : NumberBinaryOperatorExpression
Inheritance: objectRadExpressionOperatorExpressionBinaryOperatorExpression<double>NumberBinaryOperatorExpressionPowerExpression
Inherited Members
Constructors
PowerExpression(RadExpression, RadExpression, Workbook)
Initializes a new exponentiation expression with a base and exponent.
Declaration
public PowerExpression(RadExpression left, RadExpression right, Workbook workbook = null)
Parameters
left
The left.
right
The right.
workbook
The workbook.
Properties
OperatorInfo
Gets the operator metadata for the exponentiation operator.
Declaration
public override OperatorInfo OperatorInfo { get; }
Property Value
The operator info as OperatorInfo.
Overrides
Methods
GetValueOverride(double[])
Calculates the power result, handling special cases for zero and negative bases.
Declaration
protected override RadExpression GetValueOverride(double[] operands)
Parameters
operands
double[]
The operands of type T.
Returns
Value as RadExpression.
Overrides