Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2011

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

Search the Archive

Re: can't find info about & /@ %

  • To: mathgroup at
  • Subject: [mg121910] Re: can't find info about & /@ %
  • From: Simon <simonjtyler at>
  • Date: Thu, 6 Oct 2011 04:23:54 -0400 (EDT)
  • Delivered-to:
  • References: <j6h31i$6un$>
  • Reply-to: comp.soft-sys.math.mathematica at

All of these can be found in the Syntax guide page:

But in particular, the & makes the preceding code, Options[#, "ColorSpace"]&, a pure fucntion:

The /@ is short for Map ( and the % means the last output, and is short for Out[] (%n means Out[n]).

So what you're doing is mapping the Options[#,"ColorSpace"]& function over the previous output, which hopefully is a list (or some container) of expressions that possess that option.

  • Prev by Date: Re: Thread::tdlen: Objects of unequal length
  • Next by Date: Extra parameter for DirichletDistribution
  • Previous by thread: Re: can't find info about & /@ %
  • Next by thread: Re: can't find info about & /@ %