Top
Back: isInt
Forward: dmodvar_lib
FastBack: dmod_lib
FastForward: dmodvar_lib
Up: dmodapp_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.7.4.0. sortIntvec
Procedure from library dmodapp.lib (see dmodapp_lib).

Usage:
sortIntvec(v); v an intvec

Return:
list of two intvecs

Purpose:
sorts an intvec

Note:
In the output list L, the first entry consists of the entries of v
satisfying L[1][i] >= L[1][i+1]. The second entry is a permutation
such that v[L[2]] = L[1].
Unlike in the procedure sort, zeros are not dismissed.

Example:
 
See also: sort.


Top Back: isInt Forward: dmodvar_lib FastBack: dmod_lib FastForward: dmodvar_lib Up: dmodapp_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.