MathGroup Archive 2008

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

Search the Archive

Re: Re: Re: easier method for

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94094] Re: [mg94068] Re: [mg94023] Re: easier method for
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 5 Dec 2008 05:27:20 -0500 (EST)
  • Reply-to: hanlonr at cox.net

Select "@@@"

Press F1

Click on "Apply" (the only return that I get)

Open MORE INFORMATION

Third bullet is

"f@@@expr is equivalent to Apply[f,expr,{1}]"


Bob Hanlon

---- Lou Talman <talmanl at mscd.edu> wrote: 

=============

On Dec 1, 2008, at 10:42 PM, Jens-Peer Kuska wrote:

> list1 = {a, b, b, e};
> list2 = {{a, aP}, {b, bP}, {c, cP}, {d, dP}, {e, eP}, {f, fP}};
>
> list1 /. Rule @@@ Select[list2, MemberQ[list1, First[#]] &]

Is there an easier way than looking up every Mathematica instruction  
that might be relevant for finding out what instruction shorthand  
like "@@@" represents?  The obvious "?@@@" fails. (I finally found  
that it's a special case of Map, but only after checking all of the  
other things listed by "?Map*" because Map itself seemed least likely.)


--Lou Talman
  Department of Mathematical & Computer Sciences
  Metropolitan State College of Denver

  <http://clem.mscd.edu/%7Etalmanl>




--

Bob Hanlon



  • Prev by Date: Re: easier method for Flatten[Position[list2,x_x...??
  • Next by Date: Re: Do I have to worry about "Left" division for matrices?
  • Previous by thread: assignment problem solved
  • Next by thread: Rotation about 3 principal axes