MathGroup Archive 2009

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

Search the Archive

Re: Map to nested list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98299] Re: Map to nested list
  • From: Yves Klett <yves.klett at googlemail.com>
  • Date: Fri, 3 Apr 2009 20:17:58 -0500 (EST)
  • References: <gr4jh9$a7a$1@smc.vnet.net>

Athanase,

Map takes a third levelspec argument:

Map[IntegerQ, {{1, 1/5}, {1, 1/5}}, {2}]

{{True, False}, {True, False}}


Regards,
Yves

athanase schrieb:
> 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