| Author |
Comment/Response |
tlatev
|
04/24/12 5:26pm
Using the example provided in the MMA help:
In:=Select[{1, 2, 4, 7, 6, 2}, # > 2 &]
Out:={4, 7, 6}
Now, I'm trying to map this to a list, so
Select[{1, 2, 4, 7, 6, 2}, # > a &]& /@ {2,4,6}
The problem is: how to tell MMA to substitute the "a" in this example with a value from my list?
the slot # doesn't work. I wanna end up with a list of lists for the outputs
I suspect it's a simple construct that I couldn't find in the help
URL: , |
|