Reputation
1,013
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 19
Impact
~12k people reached

  • 0 posts edited
  • 1 helpful flag
  • 88 votes cast
May
26
comment Can Mathematica poll the dimensions of the individual monitors of its host computer?
I am on a Macbook Pro running MacOS 10.10.3 and when I have an additional monitor (in addition to the notebook's display) connected via thunderbolt I get a list containing two entries like the one shown in your post above. Each entry corresponds to one monitor and seems to be correct.
May
25
comment The image turns black when I use the mouse to rotate it
I am running a similar setup to yours (Macbook Pro 15 with Nvidia 750m late 2013, MacOS X 10.10.3 (all updates including command line tools installed), Mathematica 10.1) and I do not have any problems with rendering the Graphics object appropriately. To the compiler stuff: Your code does not involve compilation of any kind of code, so I do not see why you would need a working CCompiler setup.
May
18
awarded  Popular Question
Apr
24
comment Is this function convex?
As user 64494 stated, the NMinimize approach does not proof anything in terms of convexity. But if you are less interested in a real proof than in a numerical estimate that gives you an idea about the function being convex or not on the given intervals, you might want to compute the global Minimum of the second derivative on the given interval using NMinimize. If this minimum is greater or equal to zero the function should be convex on the given domain.
Mar
26
revised Find all disjoint subsets of equal length
changed final step from using MapThread to Transpose
Mar
26
comment Find all disjoint subsets of equal length
Sure, wasn't thinking much at the time of writing. Transpose is way faster, so I will edit it.
Mar
26
awarded  Tumbleweed
Mar
26
answered Find all disjoint subsets of equal length
Mar
19
asked Remote kernel connection via ssh fails on Mathematica 10 and Yosemite
Mar
7
comment Correct use of Solve inside Compile
As stated before you cannot compile Solve, but you might want to implement Newton's Method to solve your nonlinear system of equations. This iterative method can be compiled, no problem there. But then again it might be even faster or more accurate to use NSolve.
Mar
3
comment Simplifying expressions with Abs
I can confirm Nicola's results ((-1)^L Sqrt[1 - a^2] Cos[2 b] <= 1,True,etc.) and I am on Mathematica 10.0.2 running on Mac OS X Yosemite.
Feb
24
comment FullSimplify missing trivial rewrite
@ThomasAhle: Sorry for that, I took a second look and you are right, it's the same function. I just got confused with m running from 0 to n the second time. My apologies.
Feb
18
awarded  Nice Question
Feb
6
comment Does FindFit use symbolic differentiation?
Ok, now this example convinces me that Mathematica does not use symbolic differentiation: data = Table[{x, Pi*x}, {x, 0, 1, 1}]; FindFit[data, a*x, {a}, x] yields {a -> 3.14159} and not {a -> Pi}, which should be the case if Mathematica would differentiate symbolically.
Feb
3
comment Does FindFit use symbolic differentiation?
Ok, I did not realise that. Thanks for the info. I will leave this answer up for now, because I think your comment is interesting, but I am glad to remove it. Sorry for the misinformation.
Feb
3
answered Does FindFit use symbolic differentiation?
Dec
15
awarded  Yearling
Nov
4
comment Mathematica using all available RAM
@yashar: As you are Minimizing you must have some kind of objective function accepting arguments and returning a scalar value. You might want to define that functions for numeric evaluation only to avoid symbolic evaluation.
Nov
2
comment Mathematica using all available RAM
@yashar: Have you restricted the arguments of your objective function to Numeric values via _?NumericQ then?
Nov
2
comment Mathematica using all available RAM
Number one thing I would take a look at is how much memory a single evaluation of your objective function actually needs. Taking into account that mathematica will probably store data in memory for a while while evaluating FindMinimum and does in general not seem to be very memory efficient this might lead to your problems.