SHARE
TWEET

Untitled

a guest Jun 16th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. f2[l_, n_] := n l;
  2.  
  3. Clear[x, y, z]
  4. masterl = {x, y, z};
  5.      
  6. xx = 3; yy = 4;
  7. l2 = masterl /. {x -> xx, y -> yy}
  8.  
  9. (* {3, 4, z} *)
  10.      
  11. f2[masterl, 5]
  12.  
  13. (* {5 x, 5 y, 5 z} *)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top