up previous next
NonZero

remove zeroes from a list

Syntax
NonZero(L: LIST|MODULEELEM): LIST

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

Example
/**/  Use R ::= QQ[x,y,z];
/**/  NonZero([0,0,3, ideal(y),0]);
[3, ideal(y)]

See Also