Top
Back: D.2.2.4 binomial
Forward: D.2.2.6 factorial
FastBack: D. SINGULAR libraries
FastForward: E. Release Notes
Up: D.2.2 general_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

D.2.2.5 deleteSublist

Procedure from library general.lib (see general_lib).

Usage:

deleteSublist(v,l); intvec v; list l
where the entries of the integer vector v correspond to the positions of the elements to be deleted

Return:

list without the deleted elements

Example:

 
LIB "general.lib";
list l=1,2,3,4,5;
intvec v=1,3,4;
l=deleteSublist(v,l);
l;
→ [1]:
→    2
→ [2]:
→    5

Top Back: D.2.2.4 binomial Forward: D.2.2.6 factorial FastBack: D. SINGULAR libraries FastForward: E. Release Notes Up: D.2.2 general_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.