matt(X)

Returns the transpose of the given matrix. (Available as of prod-9)

Function type

Vector only

Syntax

matt(X)

Input

Argument Type Description
X matrix model A column name

The column specified by this parameter must contain matrix models generated by the 1010data Matrix Functions.

Return Value

Returns a matrix model that is the transpose of the matrix specified by X.

Example

Consider the following example:

<table cols="name, data_1, data_2, data_3, data_4" title="matt example">
 John,8,0,5,1;
 John,2,0,1,1;
 Mary,3,1,2,2;
 Mary,4,1,2,2;
 John,5,2,3,1
</table>
<willbe name="matrix_0" value="g_matrix(name;;;data_1 data_2 data_3 data_4;0)"/>
<willbe name="matrix_0_t" value="matt(matrix_0)"/>

The matrix in every row in matrix_0_t will be the transpose of the matrix in the same row in matrix_0.

For example, clicking on the > character in the first row of the matrix_0 column displays the matrix for those rows where name is John.

Clicking on the > character in the first row of the matrix_0_t column displays the transpose of that matrix.