@transpose |

Syntax: @transpose(o)

Argument: matrix, vector, rowvector, or sym, o

Return: matrix, rowvector, vector, or sym

Forms the transpose of a matrix object, o. o may be a vector, rowvector, matrix, or a sym. The result is a matrix object with a number of rows equal to the number of columns in the original matrix and number of columns equal to the number of rows in the original matrix. This function is an identity function for a sym, since a sym by definition is equal to its transpose. Example:

matrix m2 = @transpose(m1)

rowvector r2 = @transpose(v1)