Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6965

Re: How to get elements satisfying specific condition from a list

From "Nasser M. Abbasi" <nma@12000.org>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to get elements satisfying specific condition from a list
Date 2011-12-06 08:18 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jbkj4f$i3l$1@smc.vnet.net> (permalink)
References <201112040751.CAA21566@smc.vnet.net> <jbi6i3$52t$1@smc.vnet.net>

Show all headers | View raw


On 12/5/2011 4:31 AM, Harvey P. Dale wrote:
> 	You can use "Select" to do this.  For example:
>
> 		Select[Table[{x, y}, {x, 1, 6}, {y, 1, 6}], Total[#]>9&]

fyi, Using the above, I get on version 8.04

In[11]:= Select[Table[{x, y}, {x, 1, 6}, {y, 1, 6}], Total[#] > 9 &]

Out[11]= {}

--Nasser

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: How to get elements satisfying specific condition from a list "Harvey P. Dale" <hpd1@nyu.edu> - 2011-12-05 10:31 +0000
  Re: How to get elements satisfying specific condition from a list "Nasser M. Abbasi" <nma@12000.org> - 2011-12-06 08:18 +0000

csiph-web