Difference between revisions of "Extensions.Math.Power"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
 
{{DISPLAYTITLE:'''Power '''}}[[Category:Math]]
 
{{DISPLAYTITLE:'''Power '''}}[[Category:Math]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | Power | Power of a number with a certain exponent | [[Term]] | [[Extensions.Math|OTX Math Extension]] | - | - | - | Yes}}
+
{{ClassificationActivity | Power | Power of a number with a certain exponent | [[Term]] | [[Extensions.Math|OTX Math Extension]] | [[Extensions.Math#Actions|Math related Actions]] | - | - | Yes}}
  
 
== OTL Syntax ==
 
== OTL Syntax ==

Revision as of 08:16, 1 October 2018

Classification

Name Power
Short Description Power of a number with a certain exponent
Class Term
Extension OTX Math Extension
Group Math related Actions
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

FloatTerm = Math.Power(NumericTerm, NumericTerm);

Description

The Power term shall be used for calculating the power of a given number using a given exponent.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
Float Result of power calculations.

Properties

Name Data Type Class Default Cardinality Description
Numeral Numeric Term - [1] The numeric value of type integer or float, on which the power is calculated.
Exponent Numeric Term - [1] The numeric value of type integer or float, which will serve as an exponent in the calculation.

OTL Examples

Float Float1;

/// Flow

Float1 = Math.Power(1, 2);

See also

Log
Ln
Sin
Cos
Tan