D.5.1.4 Hcode
.............
Procedure from library classify.lib (see classify_lib).

Usage:
Hcode(v); v=intvec

Return:
intvec, coding v according to the number of successive
repetitions of an entry

Example:
LIB "classify.lib";
intvec v1 = 1,3,5,5,2;
Hcode(v1);
==> 1,0,1,0,2,0,0,1,0
intvec v2 = 1,2,3,4,4,4,4,4,4,4,3,2,1;
Hcode(v2);
==> 1,1,1,7,1,1,1

<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>
