CoCoA:Remove

From ApCoCoAWiki

Remove

remove an object in a list

Description

This function removes the N-th component from L. (The function

<ttref>WithoutNth</ttref> returns the list obtained by removing the N-th component

of L without affecting L, itself.)

Example

  Use R ::= Q[x,y,z];
  L := Indets();
  L;
[x, y, z]
-------------------------------
  Remove(L,2);
  L;
[x, z]
-------------------------------

Syntax

Remove(V:LIST,N:INT):NULL

where V is a variable containing a list.

Insert

WithoutNth

   <type>list</type>