Top
Back: slimgb
Forward: sqrfree
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.144 sortvec

Syntax:
sortvec ( ideal_expression )
sortvec ( module_expression )
Type:
intvec
Purpose:
computes the permutation v which orders the ideal, resp. module, I by its initial terms, starting with the smallest, that is, I(v[i]) < I(v[i+1]) for all i.
Example:
 
  ring r=0,(x,y,z),dp;
  ideal I=y,z,x,x3,xz;
  sortvec(I);
==> 2,1,3,5,4
See general_lib.

Top Back: slimgb Forward: sqrfree FastBack: Functions and system variables FastForward: Control structures Up: Functions 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.