Re: Map to nested list
- To: mathgroup at smc.vnet.net
- Subject: [mg98260] Re: [mg98218] Map to nested list
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 3 Apr 2009 20:10:29 -0500 (EST)
- Reply-to: hanlonr at cox.net
Map[IntegerQ, {{1, 1/5}, {1, 1/5}}, {2}]
{{True, False}, {True, False}}
IntegerQ /@ # & /@ {{1, 1/5}, {1, 1/5}}
{{True, False}, {True, False}}
Bob Hanlon
---- athanase <aeoost at gmail.com> wrote:
=============
this expression
IntegerQ/@{1,1/5}
outputs {True, False}
which operator is used for nested list?
so
IntegerQ ? {{1,1/5},{1,1/5}}
outputs {{True, False},{True, False}}
thankyou :)