Top
Back: binomial
Forward: factorial
FastBack: all_lib
FastForward: inout_lib
Up: general_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: 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: binomial Forward: factorial FastBack: all_lib FastForward: inout_lib Up: general_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-0-4, May 2003, generated by texi2html.