Skip to main content
41 events
when toggle format what by license comment
May 14, 2017 at 6:11 comment added xzczd I decide not to create a new one by myself, because I've been deeply affected by this answer, and whatever I create, it'll be too similar to Leonid Shifrin's withGlobalFunctions :) .
Apr 13, 2017 at 12:56 history edited CommunityBot
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Jan 17, 2017 at 13:48 comment added faysou The ideas are there, after you can implement any wrapper function you want. You could implement another CompileExpand in another answer.
Jan 17, 2017 at 7:53 comment added xzczd "The $CriteriaFunction used here is that a function name (symbol) should have upper case letters only. " Well, personally I think this design isn't very convenient, maybe you can add a 4th argument or an option to CompileExpand to specify what function should be expanded e.g. CompileExpand[{{x, _Real}}, STEP[f @@ {x}], f]?
Jan 17, 2017 at 7:42 history edited xzczd CC BY-SA 3.0
added 77 characters in body
Feb 7, 2016 at 9:40 history edited faysou CC BY-SA 3.0
added 323 characters in body
Apr 14, 2015 at 21:39 comment added faysou As a comment having learned some Python recently, the solution presented above is similar to what Cython brings (a big acceleration to normal Python code) except that you don't need here to define local variables in a special manner, everything is basic Mathematica code. This solution should be useful to a lot of people should they find this post ...
Aug 3, 2014 at 22:14 history edited faysou CC BY-SA 3.0
deleted 3 characters in body
Aug 3, 2014 at 21:59 history edited faysou CC BY-SA 3.0
added 89 characters in body
May 1, 2014 at 11:17 history wiki removed Mr.Wizard
Feb 7, 2014 at 10:31 history edited faysou CC BY-SA 3.0
deleted 5 characters in body
Jan 9, 2014 at 14:11 history edited faysou CC BY-SA 3.0
edited body
Jan 1, 2014 at 18:03 history edited faysou CC BY-SA 3.0
added 205 characters in body
Dec 31, 2013 at 10:47 history edited faysou CC BY-SA 3.0
added 33 characters in body
Dec 30, 2013 at 12:06 history edited faysou CC BY-SA 3.0
deleted 54 characters in body
Dec 30, 2013 at 9:54 history edited faysou CC BY-SA 3.0
edited body
Dec 29, 2013 at 13:43 history edited faysou CC BY-SA 3.0
deleted 48 characters in body
Dec 18, 2013 at 10:14 history edited faysou CC BY-SA 3.0
added 131 characters in body
Dec 18, 2013 at 9:46 history edited faysou CC BY-SA 3.0
added 5 characters in body
Dec 11, 2013 at 10:41 history edited faysou CC BY-SA 3.0
added 107 characters in body
Dec 4, 2013 at 9:59 history edited faysou CC BY-SA 3.0
deleted 48 characters in body
Dec 3, 2013 at 11:36 history edited faysou CC BY-SA 3.0
deleted 1 characters in body
Nov 25, 2013 at 10:01 history edited faysou CC BY-SA 3.0
added 35 characters in body
Oct 25, 2013 at 10:49 history edited faysou CC BY-SA 3.0
added 457 characters in body
Oct 25, 2013 at 10:35 history edited faysou CC BY-SA 3.0
added 231 characters in body
Sep 2, 2013 at 11:10 history edited faysou CC BY-SA 3.0
deleted 157 characters in body
Sep 2, 2013 at 10:30 history edited faysou CC BY-SA 3.0
added 238 characters in body
Aug 30, 2013 at 9:31 history edited faysou CC BY-SA 3.0
added 116 characters in body
Aug 29, 2013 at 10:41 history edited faysou CC BY-SA 3.0
added 166 characters in body
Aug 28, 2013 at 12:40 history edited faysou CC BY-SA 3.0
added 7 characters in body
Aug 28, 2013 at 10:21 history edited faysou CC BY-SA 3.0
added 356 characters in body
May 6, 2013 at 7:32 vote accept faysou
May 5, 2013 at 13:43 history edited faysou CC BY-SA 3.0
added 75 characters in body
May 5, 2013 at 13:30 history edited faysou CC BY-SA 3.0
added 92 characters in body
May 4, 2013 at 10:05 history edited faysou CC BY-SA 3.0
added 96 characters in body
May 4, 2013 at 9:56 history edited faysou CC BY-SA 3.0
added 86 characters in body
May 4, 2013 at 9:48 history edited faysou CC BY-SA 3.0
added 44 characters in body
May 4, 2013 at 9:18 history edited faysou CC BY-SA 3.0
added 185 characters in body
May 3, 2013 at 16:03 comment added Leonid Shifrin +1. Related answer. Note particularly the last solution there, based on what I call code freezing - it is similar in spirit to what you are doing here with step, albeit based on an entirely different mechanism of evaluation control.
May 3, 2013 at 15:59 history edited faysou CC BY-SA 3.0
added 19 characters in body
May 3, 2013 at 15:48 history answered faysou CC BY-SA 3.0