Returns an array of row numbers.
ROWNOS(a)
a |
- |
A series or table. |
An array of size(a).
W1: ones(3)
W2: rownos(W1)
W2 == {{1, 1, 1},
{2, 2, 2},
{3, 3, 3}}
W1: zeros(3, 2)
W2: rownos(W1)
W2 == {{1, 1},
{2, 2},
{3, 3}}
ROWNOS is used by several of the matrix dissection routines to select specific regions of an array.
ROWNOS(a) = COLIDX(a)