MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Selecting Lists Without Null Results

  • To: mathgroup at
  • Subject: [mg68970] Selecting Lists Without Null Results
  • From: Gregory Lypny <gregory.lypny at>
  • Date: Sat, 26 Aug 2006 02:03:52 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

	I must be doing something wrong as usual.  How come I can select  
list with elements that have the word Null in them as a result of a  
computation, but I cannot exclude them?

I have an array called runsTable with 179 rows, and there are five  
rows with Null in column 14.


	Length[Select[runsTable, #[[14]] == Null &]

returns 5.


	Length[Select[runsTable, (#[[14]]¬ Null) &]]

returns 0 when it should return 174, that is, 179 minus 5.

	Am I using the NOT operator incorrectly?



  • Prev by Date: Re: Why polynomial Can't output as Number?
  • Next by Date: Re: Matrix Multiplication (with a twist)
  • Previous by thread: Re: General--Transformation of coordinates(from carteseian to polar)
  • Next by thread: Re: Selecting Lists Without Null Results