Create matrix A with 3 rows and 2 columns:
R is a row vector and C is a column vector:
B is a 1-by-1 matrix, or a matrix with one row and one column:
B = [20];
E is an empty matrix:
For Each Row( data |/= Matrix( {{dt:height, dt:weight}} ) );
Show( data );
A script can return an empty matrix. In Big Class.jmp, the following expression looks for rows in which age equals 8, finds none, and returns an empty matrix:
Show( a );
If you want to convert lists into a matrix, use the Matrix() function. A single list is converted into a column vector. Two or more lists are converted into rows.
To construct matrices from expressions, use Matrix(). Elements must be expressions that resolve to numbers.