Math
Math - Abs
Gets the absolute value of a number
IN
| Name | Type | Description |
|---|---|---|
| InValue | T | The input value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutAbs | T | The absolute value. |
| Error | ErrorState | Gets the execution error message |
Math - Acos
Calculates the angle whose cosine is the specified number
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input value. |
| InAngleUnit | Enum < AngleMeasure > | The angle unit type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutAngle | Float | The angle value. |
| Error | ErrorState | Gets the execution error message |
Math - Approximate
Approximates a numeric value to Integer number using the selected approximation type (Ceil , Floor , ...)
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The value to approximate. |
| InApproxType | Enum < ApproximationType > | The approximation type |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutApprox | Float | The approximated value. |
| Error | ErrorState | Gets the execution error message |
Math - Asin
Calculates the angle whose sine is the specified number
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input value. |
| InAngleUnit | Enum < AngleMeasure > | The angle unit type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutAngle | Float | The angle value. |
| Error | ErrorState | Gets the execution error message |
Math - Atan
Calculates the angle whose tangent is the specified number
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input value. |
| InAngleUnit | Enum < AngleMeasure > | The angle unit type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutAngle | Float | The angle value. |
| Error | ErrorState | Gets the execution error message |
Math - Atan2
Calculates the angle whose tangent is the quotient of two specific numbers
IN
| Name | Type | Description |
|---|---|---|
| InValue1 | Float | The input value. |
| InValue2 | Float | The input value. |
| InAngleUnit | Enum < AngleMeasure > | The angle unit type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutAngle | Float | The angle value. |
| Error | ErrorState | Gets the execution error message |
Math - Average
Calculates the average value between two numbers.
IN
| Name | Type | Description |
|---|---|---|
| InValue1 | Float | The first value. |
| InValue2 | Float | The second value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutAvg | Float | The average result. |
| Error | ErrorState | Gets the execution error message |
Math - AverageArray
Gets the average value of the values in the given array.
IN
| Name | Type | Description |
|---|---|---|
| InValues | FloatArray | The input values |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutAvg | Float | the average value |
| Error | ErrorState | Gets the execution error message |
Math - Clamp
Limits a number to be in a specific range and returns also a boolean to specify if the input value satisfies the range.
IN
| Name | Type | Description |
|---|---|---|
| InValue | T | The value to clamp. |
| InLowerLimit | T | The lower limit. |
| InHigherLimit | T | The higher limit. |
| InIncludeLower | Bool | Include lower limit. |
| InIncludeHigher | Bool | Include higher limit. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutClamped | T | The clamped value. |
| OutInRange | Bool | Gets if the value is in range. |
| Error | ErrorState | Gets the execution error message |
Math - Compare
Compares two values according to given operation type and gets a boolean result indicating if the operation is satisfied
IN
| Name | Type | Description |
|---|---|---|
| InValue1 | T | The first value. |
| InValue2 | T | The second value. |
| InOperation | Enum < ConfrontationType > | Compare operation type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutResult | Bool | The comparison result |
| Error | ErrorState | Gets the execution error message |
Math - Cos
Calculates the cosine of an angle
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input angle value. |
| InAngleUnit | Enum < AngleMeasure > | The angle unit type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutCos | Float | The cosine value. |
| Error | ErrorState | Gets the execution error message |
Math - Log
Calculates the logarithm of a number in a specific base.
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input value. |
| InBase | Float | The logarithm base. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutLog | Float | The logarithm value. |
| Error | ErrorState | Gets the execution error message |
Math - Max
Calculates the maximum value between two numbers
IN
| Name | Type | Description |
|---|---|---|
| InValue1 | T | The first value. |
| InValue2 | T | The second value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutMax | T | The max value. |
| Error | ErrorState | Gets the execution error message |
Math - MaxArray
Gets the max value of the values in the given array.The array type must be numeric,i.e double,int,float etc.The average value is returned with the same type of the input elements
IN
| Name | Type | Description |
|---|---|---|
| InValues | < T > | The input array values |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutMax | T | The max value |
| OutMaxIndex | Int | The index where the Max value is found |
| Error | ErrorState | Gets the execution error message |
Math - MedianArray
Gets the median value of the values in the given array.The median value is returned with the same type of the input elements
IN
| Name | Type | Description |
|---|---|---|
| InValues | < T > | The input values |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutMedian | T | The median value |
| Error | ErrorState | Gets the execution error message |
Math - Min
Calculates the minimun value between two numbers
IN
| Name | Type | Description |
|---|---|---|
| InValue1 | T | The first value. |
| InValue2 | T | The second value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutMin | T | The min value. |
| Error | ErrorState | Gets the execution error message |
Math - MinArray
Gets the min value of the values in the given array.The array type must be numeric,i.e double,int,float etc.The average value is returned with the same type of the input elements
IN
| Name | Type | Description |
|---|---|---|
| InValues | < T > | The input array |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutMin | T | The min value |
| OutMinIndex | Int | The index where the Min value is found |
| Error | ErrorState | Gets the execution error message |
Math - Negate
Calculates the negate value of a number
IN
| Name | Type | Description |
|---|---|---|
| InValue | T | The input value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutNegate | T | The negate value. |
| Error | ErrorState | Gets the execution error message |
Math - Operation
Calculates the result of an algebric operation between two numbers. Sum : InValue1+InValue2 Subtract : InValue1-InValue2 Multiply : InValue1 * InValue2 Divide : InValue1 / InValue2
IN
| Name | Type | Description |
|---|---|---|
| OperationType | Enum < OperationType > | The operation type. |
| InValue1 | T | The first value. |
| InValue2 | T | The second value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutResult | T | The result value. |
| Error | ErrorState | Gets the execution error message |
Math - Power
Calculates the power value of a number raised to a specific exponent.
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input value. |
| InExponent | Float | The power exponent. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPow | Float | The power value. |
| Error | ErrorState | Gets the execution error message |
Math - Root
Calculates the root value of a number with a specific root index
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input value. |
| InRootIndex | Int | The root index. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutRoot | Float | The root value. |
| Error | ErrorState | Gets the execution error message |
Math - Round
Rounds a number to a specified number of decimal digits without changing the output type.If the input type is an integer the value is returned with no operations.
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input value. |
| InDecimals | Int | The input value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutRound | Float | The rounded value. |
| Error | ErrorState | Gets the execution error message |
Math - Sign
Computes an integer that indicates the sign of the input value. -1: the value is less than 0. 0: the value is equal to 0. 1: the value is greater than 0
IN
| Name | Type | Description |
|---|---|---|
| InValue | < T > | The input value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutSign | Int | The sign value.-1: the value is less than 0.0: the value is equal to 0.1: the value is greater than 0 |
| Error | ErrorState | Gets the execution error message |
Math - Sin
Calculates the sine of an angle
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input angle value. |
| InAngleUnit | Enum < AngleMeasure > | The angle unit type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutSin | Float | The sine value. |
| Error | ErrorState | Gets the execution error message |
Math - Sqrt
Calculates the square root value of a number
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutSqrt | Float | The root value. |
| Error | ErrorState | Gets the execution error message |
Math - StdDev
Computes the standard deviation of the numbers in the input array
IN
| Name | Type | Description |
|---|---|---|
| InValues | FloatArray | The input values. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutStdDev | Float | The standard deviation |
| Error | ErrorState | Gets the execution error message |
Math - SumArray
Computes the sum of the numbers in the input array
IN
| Name | Type | Description |
|---|---|---|
| InValues | < T > | The input values. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutSum | T | The standard deviation |
| Error | ErrorState | Gets the execution error message |
Math - Tan
Calculates the tangent of an angle
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The input angle value. |
| InAngleUnit | Enum < AngleMeasure > | The angle unit type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutTan | Float | The tangent value. |
| Error | ErrorState | Gets the execution error message |
Math - TrigonometricOperation
Computes a specific trigonometric operation for the input number
IN
| Name | Type | Description |
|---|---|---|
| InValue | Float | The first value. |
| InOperation | Enum < TrigonometricOperationType > | The operation type. |
| InAngleUnit | Enum < AngleMeasure > | The angle unit type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutValue | Float | The computed value. |
| Error | ErrorState | Gets the execution error message |