CASA Function: delete
Delete an element from a list or a set
Calling Sequence:
- lt := delete(e,l)
- lt := delete(e,l,"all")
Parameters:
- e : expression
-
- l : list or set
-
Result:
- lt : list or set
-
Description:
- Given a list l the function removes some or all occurences of the expression e.
- If "all" is specified as the third argument, all occurences of e are removed from l. Otherwise only the first occurence is deleted.
- The result is a sublist of l with some or all occurences of e removed.
Examples:
> delete(x,[x,y,z,x]);
> delete(x,[x,y,z,x],"all");
See Also:
[CASA]
[equalProjectivePoints]
[homogeneousForm]
[leadingForm]
[numberOfTerms]
[pointInAlgSet]
[setRandomParameters]