Top
Back: lprint
Forward: rMacaulay
FastBack: general_lib
FastForward: poly_lib
Up: inout_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.3.3 pmat

Procedure from library inout.lib (see inout_lib).

Usage:
pmat(M,[n]); M matrix, n integer

Display:
display M in array format if it fits into pagewidth; if n is given, only the first n characters of each colum are shown

Return:
no return value

Example:
 
LIB "inout.lib";
ring r=0,(x,y,z),ls;
ideal i= x,z+3y,x+y,z;
matrix m[3][3]=i^2;
pmat(m);
==> x2,     xz+3xy,     xy+x2,         
==> xz,     z2+6yz+9y2, yz+3y2+xz+3xy, 
==> z2+3yz, y2+2xy+x2,  yz+xz
pmat(m,3);
==> x2  xz+ xy+ 
==> xz  z2+ yz+ 
==> z2+ y2+ yz+ 


Top Back: lprint Forward: rMacaulay FastBack: general_lib FastForward: poly_lib Up: inout_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-0-1, October 2005, generated by texi2html.