|
[Date Index]
[Thread Index]
[Author Index]
Selecting Sub-lists After Split
- To: mathgroup at smc.vnet.net
- Subject: [mg77425] Selecting Sub-lists After Split
- From: Gregory Lypny <gregory.lypny at videotron.ca>
- Date: Fri, 8 Jun 2007 05:34:49 -0400 (EDT)
Hello everyone,
Suppose I have a list of real number called myList. I split it into
sub-lists of positive and negative numbers called myNewList by doing
this (there may be a more elegant way):
myNewList = Split[myList, #1 #2 > 0 &]
Now, how can I select all of the sub-lists of negative numbers from
myNewList?
Any tips would be most appreciated.
Regards,
Gregory
Prev by Date:
6.0 Standard Packages?, New Style Documentation?
Next by Date:
documention for the Documentation Center in math6.0
Previous by thread:
Re: 6.0 Standard Packages?, New Style Documentation?
Next by thread:
Re: Selecting Sub-lists After Split
|