up previous next
NonZero

remove zeroes from a list
Syntax

NonZero(L:LIST or VECTOR):LIST


Description
This function returns the list obtained by removing the zeroes from L.

Example
  Use R ::= QQ[x,y,z];
  NonZero(["a",0,0,3, Ideal(y),0]);
["a", 3, Ideal(y)]
-------------------------------


See Also