Reputation
69,935
Next tag badge:
559/400 score
72/80 answers
Badges
5 169 389
Impact
~799k people reached

Apr
27
comment How to export figures with normal spacing in texts?
Can you specify the precise version of Mathematica you have? I cannot reproduce the problem with Mathematica 10.0.1 on Ubuntu 14.10. I couldn't try 10.0.2 or 10.1.0.
Apr
27
revised Solving coupled differential equations with an eigenvalue
added 5 characters in body
Apr
27
awarded  Good Question
Apr
27
comment Why the flat f[x] is treated as ghostHead_[f[x]]?
@saturasl G[2,e] simply evaluates to itself. But the Front End will format every output as StandardForm by default. This formatting goes wrong and yields e[2] due to the UpValue
Apr
27
revised How to plot the solution of a Partial Differential Equation?
deleted 44 characters in body
Apr
26
comment Why the flat f[x] is treated as ghostHead_[f[x]]?
I guess the morale is: UpValues of such generality are unsafe and are best avoided.
Apr
26
comment Why the flat f[x] is treated as ghostHead_[f[x]]?
It is not possible to associate an assignment with a pattern object. It must always be associated with a symbol. Here that symbol is G. The example you show creates an up-value of G. So how come G[2,e] evaluates at all? Since the definition is an up-value one, G[2,e] should only evaluate if it is wrapped by some head. Here it appears it isn't. What really happens is that as part of formatting, the FrontEnd does wrap G[2,e] in another head, which then triggers the UpValue evaluation. Running this example in a terminal, with no Front End, does nothing: G[2,e] doesn't evaluate.
Apr
25
comment How to use an expression for the argument to a function
It can be done, but it doesn't look like a good idea. With[{list = {a_, b_, c_}}, f[list] := a + b + c]. Try not to do this. Also, this won't work in every situation. I really can't understand why you can't just inline list. Why don't you explain in more detail what you are trying to achieve? There's very likely a much better solution.
Apr
25
comment White Edges Around Graphics Elements
Possibly related: mathematica.stackexchange.com/questions/1400/… Please mention your OS.
Apr
25
awarded  Popular Question
Apr
24
awarded  Nice Answer
Apr
23
comment Shorthand to write repetitive test in mathematica
Table is the simplest if you're a beginner.
Apr
22
comment Mathematica 10.1.0.0 (OS X) high CPU usage even for empty notebook
Please do not use the bugs tag when posting new questions.
Apr
22
revised Mathematica 10.1.0.0 (OS X) high CPU usage even for empty notebook
edited tags
Apr
22
comment Is there a way to profile Mathematica code in batch mode?
Maybe a better question would be: how to profile Mathematica code (using the WW profiler or other) when running in command line mode?
Apr
22
comment How to reverse irreversible function in Mathematica?
"Invert" is a better term than "reverse" here.
Apr
22
comment Something like MATLAB Cody for Mathematica? (Learning through exercises.)
@Kuba Wolfram Programming Lab might be something similar, I'm not actually sure what it is. I found it by digging around on the paclet server, try PacletFindRemote["WPL*"]. You can download the paclets, but most of them are unfinished. It looks like a so far unreleased product.
Apr
22
comment Something like MATLAB Cody for Mathematica? (Learning through exercises.)
@Kuba As far as I can tell, this is a collection of programming exercises, ranging from trivial to advanced, with automated solution checking. This sort of thing can indeed be very useful when learning any subject (that's why we do it a lot for maths classes). It's not like Mathematica.SE as people solve the exercises with the aim of learning, and many of the exercises are geared towards beginners (and would instantly get closed here).
Apr
22
revised Something like MATLAB Cody for Mathematica? (Learning through exercises.)
edited title
Apr
22
revised Something like MATLAB Cody for Mathematica? (Learning through exercises.)
added 2 characters in body