D.5.9.6 qhmatrix
................
Procedure from library spcurve.lib (see spcurve_lib).

Usage:
qhmatrix(M); M a k x (k+1) matrix

Return:
list, consisting of an integer vector containing the weights of
the variables of the basering and an integer matrix giving the
weights of the entries of M, if M is quasihomogeneous;
zero integer vector and zero integer matrix, if M is not
quasihomogeneous, i.e. does not allow row and column weights

Example:
LIB "spcurve.lib";
ring r=0,(x,y,z),ds;
matrix M[3][2]=z,0,y,x,x^3,y;
qhmatrix(M);
==> [1]:
==>    1,2,1
==> [2]:
==>    1,0,
==>    2,1,
==>    3,2 
pmat(M);
==> z,  0, 
==> y,  x, 
==> x3, y

<font size="-1">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; User manual for <a href="http://www.singular.uni-kl.de/"><i>Singular</i></a> version 2-0-4, October 2002,
generated by <a href="http://www.gnu.org/software/texinfo/"><i>texi2html</i></a>.
</font>

</body>
</html>
