Owning Class: support
Requires: MathScript RT Module
c = flatindex(size, a, b)
Computes the linear position of pairs of a matrix.
|size||Specifies the size of a matrix. size is a two-element vector of integers.|
|a||Specifies the first indexes. a is a matrix of integers.|
|b||Specifies the second indexes. b is a matrix of integers of the same size as a.|
|c||Returns the linear position of all pairs (a, b) of a matrix with the specified size. c is a matrix of the same size as a.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
A = [1, 2, 3]
B = [1, 2, 3]
SIZE = [3, 3]
C = flatindex(SIZE, A, B)