| A |
- |
Input vector A
|
| Op |
- |
Operation
| CROSS |
- |
Cross product of vectors A and B
returned in vector C. Only valid for vectors of length 3.
|
| DOT |
- |
Dot product of vectors A and B
with value returned through routine.
|
| MAG |
- |
Magnitude of vector A with value
returned through routine.
|
| UNIT |
- |
Unit vector of vector A
returned in vector C.
|
| TENSOR |
- |
Creates a tensor for vectors A
and B by binomially multiplying them together. Tensor is
returned in C.
|
| OP |
- |
Produce the operation A OP B and
return the result in C. OP must be a valid mathematical
operation (*, +, %, etc). If B is a constant then it is
applied to all elements in A. Vector B can be smaller
than vector A in which case the elements of B are
cyclically rotated through in the operation.
|
|
| B |
- |
Input vector B. (Used only when a two
vector operations are specified.)
|
| C |
- |
Output vector C. (Used only when
returning vector data.)
|
| oA |
- |
Optional offset into vector A.
Default is 0.
|
| oB |
- |
Optional offset into vector B.
Default is 0.
|
| oC |
- |
Optional offset into vector C.
Default is 0.
|
| nA |
- |
Optional length of vector A.
Default is 3.
|
| nB |
- |
Optional length of vector B.
Default is 3.
|