Reputation
1,003
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 18
Newest
 Tumbleweed
Impact
~12k people reached

  • 0 posts edited
  • 1 helpful flag
  • 88 votes cast
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.
Oct
24
comment C compiler error: the no library could be generated error
@Anoldmaninthesea.: One way would be to add the definition of the $CCompiler variable to the init.m file of mathematica, which is executed before the frontend or kernel starts. Take a look at init.m in the mathematica documentation for further details and the location of the file.
Oct
24
comment Missing MSVCP110.dll for CUDA
You should have this dll on your computer if you have installed MS Visual Studio or the appropriate MS Visual C++ Redistributable package. As you need a C compiler anyway, and as you are on windows you will want to install MS Visual Studio anyways.
Oct
23
revised C compiler error: the no library could be generated error
added 1 character in body