up previous next

NonZero

Syntax

NonZero(L:LIST or VECTOR):LIST
    

Summary

remove zeroes from a list

Description

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

example

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

See Also