Reputation
11,339
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
22 53
Newest
 Enlightened
Impact
~97k people reached

2d
comment Integrate producing bad result
@William Yep. People really should always say which Mathematica version they use. And for the notebook FrontEnd also the operating system.
2d
comment Integrate producing bad result
On Mathematica 10.4.1 I get (2*l1*l2 - 2*Sqrt[(a^2 - l1^2)*(-a^2 + l2^2)]*Pi - (4*I)*Sqrt[(a^2 - l1^2)*(-a^2 + l2^2)]*Log[a] + 2*(-2*a^2 + l1^2 + l2^2)*Log[l1 + l2] + 2*a^2*Log[-l1^2 + l2^2] - l1^2*Log[-l1^2 + l2^2] - l2^2*Log[-l1^2 + l2^2] - (2*I)*Sqrt[(a^2 - l1^2)*(-a^2 + l2^2)]*Log[-l1^2 + l2^2] + (2*I)*Sqrt[-((a^2 - l1^2)*(a^2 - l2^2))]* Log[-(a^2*(l1^2 + l2^2)) + 2*l1*l2*(l1*l2 - I*Sqrt[(a^2 - l1^2)*(-a^2 + l2^2)])])/4
2d
comment Loading FeynCalc
Do not install from a read-only USB stick, but do it from a directory where you have write permissions.
Apr
9
awarded  Enlightened
Apr
9
awarded  Nice Answer
Apr
7
comment Performance of Apart with complex numbers
@Searke This has nothing to do with newer versions. This behaviour has been there since the early nineties, I fixed it (and documented it) in the Apart1 function a long long time ago. I don't know if I mentioned this to WRI (danl) or not, but it is so easy to fix yourself. The great thing about the Mathematica kernel is that you can work around problems quite easily. I am not sure about the fixability of the FrontEnd ...
Mar
16
revised What causes the error NotebookEvaluate::nbnfnd?
added 4 characters in body
Mar
14
comment General strategies to write big code in Mathematica?
@ShutaoTANG Actually the fun starts when you write Mathematica code in such a way, using Compile (to C) and LibraryLink, that you gain back a lot of speed. I like that in this way I can get quite nice generated C-code, for, say, nested loops, but keep the rest in high level Mathematica with all its nice cosmetics.
Mar
6
comment How to design CloudObjects with reasonable CloudCredit costs
Probably the best is to talk to WRI and tell them you are an enthousiast and making kids aware of science and Mathematica and you should get a million cloud credits for free from them. Or you ask for a private cloud.
Mar
1
comment $CellContext issue while trying to export the current output of a Manipulate
Just use With: With[{plotOpts = Sequence[GridLines -> Automatic, PlotTheme -> "Monochrome"]}, g = Manipulate[ Plot[Sin[n x], {x, 0, 2 \[Pi]}, Evaluate@plotOpts], {{n, 1}, 1, 5}]]
Feb
25
comment Why can't I replace I with HoldPattern@I?
It's funny that I /. (Unevaluated@I) -> a returns a. Of course 2 I /. (Unevaluated@I) -> a already does not do anything.
Feb
3
comment Can Mathematica's random number generation be improved?
@blochwave Sorry, the comparison should be AbsoluteTiming[ l2 = Flatten@ MapThread[BinomialVariate[{#1}, {#2}] &, {list1, list2}];] Then I get about 23 fold time difference (on windows).
Feb
3
comment Can Mathematica's random number generation be improved?
@blochwave May I suggest to change BinomialVariate = LibraryFunctionLoad[BinomialVariateLib, "BinomialVariate", {{Real, 1}, {Real, 1}}, {Integer, 1}]; and in the C++ code mint* data3; and ` data3 = libData->MTensor_getIntegerData(m3);` and data3[i] = (int) distribution(generator); ? Also I think this AbsoluteTiming[ l2 = MapThread[BinomialVariate[{#1, #2}] &, {list1, list2}];] is a better comparison.
Jan
28
awarded  Nice Answer
Jan
26
revised List of Mathematica related acronyms and their real meaning
added 105 characters in body
Jan
25
answered What would you ask Mathematica to do on a big system?
Jan
21
awarded  Generalist
Jan
20
revised Problem with PlotLegends in Manipulate
deleted 4 characters in body
Jan
20
answered Problem with PlotLegends in Manipulate
Jan
19
reviewed Approve how to replace one calaculation result to another one in a loop?