MathGroup Archive 2009

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

Search the Archive

Re: Map to nested list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98259] Re: Map to nested list
  • From: "David Park" <djmpark at comcast.net>
  • Date: Sun, 5 Apr 2009 06:30:21 -0400 (EDT)
  • References: <32124385.1238750147018.JavaMail.root@m02>

Map[IntegerQ, list, {2}]
{{True, False}, {True, False}}

David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: athanase [mailto:aeoost at gmail.com] 

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 :)




  • Prev by Date: Re: Map to nested list
  • Next by Date: Re: Map to nested list
  • Previous by thread: Re: Map to nested list
  • Next by thread: Re: Map to nested list