Top
Back: D.5.1.3 corank
Forward: D.5.1.5 init_debug
FastBack: D. SINGULAR libraries
FastForward: E. Release Notes
Up: D.5.1 classify_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

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

Top Back: D.5.1.3 corank Forward: D.5.1.5 init_debug FastBack: D. SINGULAR libraries FastForward: E. Release Notes Up: D.5.1 classify_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.