Advertisement
Guest User

Untitled

a guest
Jul 29th, 2013
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. f = #2 + #^2 / #3 & @@ # & ;
  2.  
  3. f[ {a, b, c} ]
  4.  
  5. Out[]= b + a^2 / c
  6.  
  7. f = #2 + #^2 / #3 @@& ;
  8.  
  9. In[1]:= Needs["Notation`"]
  10.  
  11. In[2]:= Notation[x_ [Wolf] [DoubleLongLeftRightArrow] (x_ @@ # &)]
  12.  
  13. In[3]:= f=#2+#^2/#3& [Wolf]
  14. Out[3]= (#2+#1^2/#3&) [Wolf]
  15.  
  16. In[4]:= f[{a,b,c}]
  17. Out[4]= b+a^2/c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement