Difference between revisions of "CoCoA:NonZero"

From ApCoCoAWiki
(pushing XML rev. 1.46, again)
 
(No difference)

Latest revision as of 10:02, 24 October 2007

NonZero

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([<quotes>a</quotes>,0,0,3,Ideal(y),0]);
[<quotes>a</quotes>, 3, Ideal(y)]
-------------------------------

Syntax

NonZero(L:LIST or VECTOR):LIST

FirstNonZero

FirstNonZeroPos

   <type>list</type>
   <type>vector</type>