Matrix transposition: Difference between revisions

Content added Content deleted
Line 1,285: Line 1,285:


=={{header|PARI/GP}}==
=={{header|PARI/GP}}==
This can also be accessed through <code>mattranspose</code>.
The GP function for matrix (or vector) transpose is <code>mattranspose</code>, but it is usually invoked with a tilde:
<lang parigp>M~</lang>
<lang parigp>M~</lang>

In PARI the function is
<lang C>gtrans(M)</code>
though <code>shallowtrans</code> is also available when deep copying is not desired.


=={{header|Pascal}}==
=={{header|Pascal}}==