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

Usage:
deleteGenerator(id,k); id an ideal/module, k an int

Return:
of the same type as id

Purpose:
deletes the k-th generator from the first argument and returns
the altered object

Example:
 
LIB "dmodapp.lib";
ring r = 0,(x,y,z),dp;
ideal I = x^2,y^3,z^4;
deleteGenerator(I,2);
==> _[1]=x2
==> _[2]=z4
module M = [x,y,z],[x2,y2,z2],[x3,y3,z3];
print(deleteGenerator(M,2));
==> x,x3,
==> y,y3,
==> z,z3 
M = M[1];
deleteGenerator(M,1);
==> _[1]=0
See also: insertGenerator.


Top Back: insertGenerator Forward: engine 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 4-0-3, 2016, generated by texi2html.