Function reference · Linear algebra
transpose
Returns the transpose of a matrix.
transpose(...) swaps matrix rows and columns and returns a new matrix value.
The same operation is also available as Matrix.transpose() in the JavaScript / TypeScript object API.
Examples
These examples use Nerdamer Notation.
Transpose a 2 by 2 matrix.
transpose(matrix([1,2],[3,4]))
// → matrix([1, 3], [2, 4])Interfaces
The same operation is available through the interfaces below.
Nerdamer Notation
Use this form inside input passed to nerdamer(...).
transpose(matrix)
Parameters
matrix— Matrix to transpose.
