Re: Map to nested list
- To: mathgroup at smc.vnet.net
- Subject: [mg98262] Re: Map to nested list
- From: Sseziwa Mukasa <mukasa at jeol.com>
- Date: Sun, 5 Apr 2009 06:30:57 -0400 (EDT)
- References: <200904030905.EAA10477@smc.vnet.net>
On Apr 3, 2009, at 5:05 AM, athanase 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}} > Map[IntegerQ,{{1,1/5},{1,1/5}},{ArrayDepth[{{1,1/5},{1,1/5}}]}]