MathGroup Archive 2005

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

Search the Archive

Re: Select from list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61057] Re: Select from list
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Sun, 9 Oct 2005 01:35:06 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <di7r7c$koa$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

try to make a pure function

Select[nLevel[8,10], #<0 &]

Regards
  Jens

"Steven Taracevicz" <sftara at starshooter.com> 
schrieb im Newsbeitrag 
news:di7r7c$koa$1 at smc.vnet.net...
| hi:
|
| I read a text file that gives me a list.
| nLevel[8, 10] = Import["output8_10.txt", "List"]
|
| {-10,-9,-7,-3,1,3,3,17}
|
| I have no problems calculating mean, variance 
etc. with the list.
|
| When I use:
|
| Select[nLevel[8,10], #<0]
|
| yields
|
| {}
|
| despite negative elements.
|
| I cannot figure out why.
|
| Thanks,
|
| -- 
| Steven Taracevicz
|
|
| 



  • Prev by Date: Re: Select from list
  • Next by Date: Re: Select from list
  • Previous by thread: Re: Select from list
  • Next by thread: Re: Select from list