SQLITE_NOTICE(283): recovered 2 frames from WAL file /data/reduce-historical.fossil-wal
File r37/lisp/csl/html/r37_0348.html artifact 3fec2e2d7b part of check-in 79abca0c1b
<A NAME=TP> <TITLE>TP</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>TP</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> The <em>tp</em> operator returns the transpose of its <A HREF=r37_0345.html>matrix</A> argument. <P> <H3> syntax: </H3> <P> <P> <em>tp</em><identifier> or <em>tp</em>(<identifier>) <P> <P> <P> <identifier> must be a matrix, which either has had its dimensions set in its declaration, or has had values put into it by <em>mat</em>. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> matrix m,n; m := mat((1,2,3),(4,5,6))$ n := tp m; N(1,1) := 1 N(1,2) := 4 N(2,1) := 2 N(2,2) := 5 N(3,1) := 3 N(3,2) := 6 </TT></PRE><P>In an assignment statement involving <em>tp</em>, the matrix ident ifier on the left-hand side is redimensioned to the correct size for the transpose. <P> <P> <P>