-
Notifications
You must be signed in to change notification settings - Fork 10
Array Scalar Operator
Ryan Porter edited this page Feb 12, 2017
·
1 revision
This node calculates a binary operation between each value in the input array and a scalar value.
| Attribute Name | Description | Attribute Type |
|---|---|---|
| input (i) | Array of input values. | doubleArray |
| scalar (s) | Input scalar value. | double |
| operation (op) | The operation (see below) that will be applied to the input values. | enum |
| argumentOrder (ao) | Order of the input values. If Element First, the output indices are calculated output[i] = input[i] (op) scalar. If Scalar First, the output indices are calculated output[i] = scalar (op) input[i]. This attribute only affects difference, quotient, or exponent calculates. |
enum |
| output (o) | The result of the operation. | doubleAngle[] |
| Operation | Description |
|---|---|
| No Operation | No calculations will be performed |
| Sum | Compute the sum of the scalar and each input value. |
| Difference | Compute the difference between the scalar and each input value (or vice versa). |
| Product | Compute the product of the scalar and each input value. |
| Quotient | Compute the quotient of the scalar and each input value (or vice versa). |
| Exponent | Compute the exponent of the scalar and each input value (or vice versa). |