Top
Back: corank
Forward: init_debug
FastBack:
FastForward:
Up: classify_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.6.4.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


Top Back: corank Forward: init_debug FastBack: FastForward: Up: classify_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.1, 2022, generated by texi2html.