|
D.13.6.20 texMatrix
Procedure from library tropical.lib (see tropical_lib).
- Usage:
- texMatrix(M); M matrix
- Return:
- string, the tex command representing M
Example:
| LIB "tropical.lib";
==> Welcome to polymake version
==> Copyright (c) 1997-2015
==> Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
==> http://www.polymake.org
ring r=(0,t),x,dp;
matrix M[2][2]=3/2,1/t*x2-t2x+1/t,5,-2x;
texMatrix(M);
==> \left(\begin{array}{cc}
==> \tfrac{3}{2} & \tfrac{1}{t}\cdot x^{2}-t^{2}\cdot x+\tfrac{1}{t} \\
==> 5 & -2\cdot x \\
==> \end{array}\right)
|
|