Skip to main content
4 events
when toggle format what by license comment
Jan 22, 2015 at 4:16 comment added Mr.Wizard @xslittlegrass I'll think about what you're trying to accomplish and update my answer if I come up with anything I consider actually serviceable.
Jan 21, 2015 at 22:36 comment added xslittlegrass For example, giving this function f[n_] := Module[{mymod}, mymod = Compile[{{x, _Real, 1}}, x.x]; mymod[Array[Exp[-(#)^2./10.] &, n, {-100., 100.}]] ] is it possible to catch the even like catch[f[500]]?
Jan 21, 2015 at 22:32 comment added xslittlegrass Thanks, but that requires to put that snippet of code to all the functions in a package, which seems a little bit tedious. I guess I'm trying to asking a event kind like message. For instance, giving some black box function, is it possible to catch that?
Jan 21, 2015 at 22:19 history answered Mr.Wizard CC BY-SA 3.0