1,886 reputation
1819
bio website
location New Zealand
age
visits member for 2 years, 2 months
seen Apr 11 at 23:03

Mar
28
comment Understanding execution time in nested loops
Don't use AppendTo, it is very very slow use Sow and Reap. And yes as @Kuba hinted at don't use For loops.
Feb
28
awarded  Popular Question
Feb
27
awarded  Enlightened
Feb
27
awarded  Nice Answer
Feb
2
awarded  Yearling
Jan
2
comment Any other way to get a better FindFit for my data besides good initial parameters?
Your constraints make no sense. If kd and kd' are positive then deltaa'' must be negative as you have data points with negative slope.
Dec
31
comment Difference in Plot when using Evaluate vs when not using Evaluate
It means that Plot isn't seeing the argument as a list. A list is treated as one argument not many arguments as Plot has HoldAll attribute .
Dec
22
revised AccountingForm w/o significant figures
added 30 characters in body
Dec
22
answered AccountingForm w/o significant figures
Dec
16
comment NMinimize stops with no more memory?
Use the EvaluationMonitor option to print the parameters f is called with and when Nminimize got stuck use the same parameters to see what your functions returns. I have no access to Mathematica right now and can help therefore only by giving you suggestions. You should update your code in the Question to the latest version you are using. I totally forgot to mention you have to define the parameters to f as follows: f[a1_?NumericQ, ... to make sure NMinimize is calling your code only with numeric values! I guess that's it! Man am I slow today to see that.
Dec
16
comment NMinimize stops with no more memory?
Have you tried to solve this for Reals instead of Integers to see if it solves at all?
Dec
16
comment NMinimize stops with no more memory?
Looking at your code I see a few things I suggest you should change to clean it up. You should not define symbols that start with capital letters as those might shadow Mathematica defined sybolm. Don't have function definitions in your Module as you are defining them over and over again when NMinimize calls your function possibly thausends of times. You'll also get printed everytime the DateStringwhich slows down the code and do you really need to know every time NMinimize call your function what time is was? You have twice the statement If[k==1, in your code up top is that correct?
Dec
11
awarded  Good Answer
Dec
2
comment How to load FORTRAN libraries through Librarylink
@fcpenha Good to hear that it worked out for you.
Dec
1
revised How to load FORTRAN libraries through Librarylink
added 179 characters in body
Dec
1
revised How to load FORTRAN libraries through Librarylink
added 14 characters in body
Dec
1
answered How to load FORTRAN libraries through Librarylink
Nov
29
comment How to load FORTRAN libraries through Librarylink
Might be a stupid question but are you sure your fortran code executes without error when started from a shell without all the extra C and MMA code? I suspect your fortran environment is not set up and libgfortran.so is not found.
Nov
21
answered Plot the velocity
Nov
18
comment Plotting DSolve results
You cannot ignore the error messages Mathematica puts out and then expect it to work. A^[2/3] is not a valid expression. The expression must be put in curly brackets if you provide a boundary condition. DSolve provides the result as a Rule you cannot plot a rule straight up. Look at the documentation for DSolve and study the examples.