Home Online Manual
Top
Back: texPolynomial
Forward: texDrawBasic
FastBack:
FastForward:
Up: tropical_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.13.6.19 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";
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)