MathGroup Archive 2008

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

Search the Archive

Re: What is @@@?


Thanks, David.

Kevin

David Park wrote:
> Kevin,
> 
> Look at More Information for Apply. Here is an example:
> 
> {a, b, c, d}
> step1 = f /@ %
> g @@@ %
> Identity @@@ %         giving
> 
> {a, b, c, d}
> {f[a], f[b], f[c], f[d]}
> {g[a], g[b], g[c], g[d]}
> {a, b, c, d}
> 
> So @@@ is really a shortcut for:
> 
> g @@ # & /@ step1
> {g[a], g[b], g[c], g[d]}
> 
> 

-- 

Kevin J. McCann
Research Associate Professor
JCET/Physics
Physics Building
University of Maryland, Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250


  • Prev by Date: Re: Colored Output
  • Next by Date: same input ... different results???
  • Previous by thread: Re: What is @@@?
  • Next by thread: Re: What is @@@?