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: Fri, 3 Apr 2009 20:10:51 -0500 (EST)
- 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}}]}]