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: Sun, 5 Apr 2009 06:37:54 -0400 (EDT)
  • 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: help in constructing a binomial consequence
  • Next by Date: Re: Map to nested list
  • Previous by thread: Re: Map to nested list
  • Next by thread: Re: Map to nested list