Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

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}}]}]


  • Prev by Date: Minimize goes into infinite loop?
  • Next by Date: Re: Map to nested list
  • Previous by thread: Re: Map to nested list
  • Next by thread: Re: Map to nested list