Reputation
69,835
Next tag badge:
100/100 score
20/20 answers
Badges
5 169 389
Impact
~793k people reached

1d
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.
1d
revised Solving coupled differential equations with an eigenvalue
added 5 characters in body
1d
awarded  Good Question
1d
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
1d
revised How to plot the solution of a Partial Differential Equation?
deleted 44 characters in body
2d
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.
2d
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.
2d
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 Problem when setting a path by a string
Backslashes (\) need to be escaped in strings. Write "c:\\...", not "c:\...".
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 Odd and unclear solver output
Never use inexact numbers (anything having a decimal point) with symbolic processing functions.
Apr
22
revised Odd and unclear solver output
deleted 72 characters in body
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.