10,455 reputation
1931
bio website
location
age
visits member for 2 years, 7 months
seen 12 hours ago

Mar
6
answered Two identical functions give different answers
Mar
6
comment Two identical functions give different answers
@b.gatessucks that was my first thought as well. The integration variables appear in the first argument, so this makes sense ( the second and third arguments in each case must be passed in as undefined symbols ). That said, I obtain different results for the two cases, starting with a clean kernel each time. (not the same error though, the first case returns an unevaluated integral w/v9)
Mar
6
comment several plots at once
just put Print@ListPlot.. in your loop if there are hundreds and you just want to display the plots individually.
Mar
5
comment Getting error Import::chtype when mporting 2D array of images
you have image one place and images the other. filenames need to be quoted
Mar
5
comment Performance problem with summation in Mathematica
you realize that Continue only exits the innermost loop. Using the procedural Do construct instead of that if, every level should be bounded by that criteria, ie, `{idx21, 0, k-(idx31 + idx41 + idx32 + idx42 + idx43)}
Mar
5
comment Graphics Plotfield
may be helpful : reference.wolfram.com/language/Compatibility/tutorial/Graphics/…
Mar
5
comment Correct use of Solve inside Compile
relevant mathematica.stackexchange.com/questions/1096/…
Mar
4
comment Why do messages only appear first time I evaluate my compiled function?
The idea is just to use some number that will not ordinarily occur in the calculation. (so you can detect it outside ) I think in this example anything outside 0-2Pi would do..
Mar
4
revised Coloring an image with two Color schemes based on a Range
added 27 characters in body
Mar
4
revised Why do messages only appear first time I evaluate my compiled function?
added 727 characters in body
Mar
4
answered Coloring an image with two Color schemes based on a Range
Mar
4
revised Random numbers in C++ and Mathematica gives wrong results?
added 13 characters in body
Mar
4
answered Random numbers in C++ and Mathematica gives wrong results?
Mar
4
comment Random numbers in C++ and Mathematica gives wrong results?
the pdf you supply to ProbabilityDistribution must be a proper probability density function in the sense that it integrates to unity over the interval. ( yours integrates to ~1/2 )
Mar
4
revised Why do messages only appear first time I evaluate my compiled function?
added 247 characters in body
Mar
4
revised Why do messages only appear first time I evaluate my compiled function?
deleted 18 characters in body
Mar
4
revised Why do messages only appear first time I evaluate my compiled function?
deleted 18 characters in body
Mar
4
answered Why do messages only appear first time I evaluate my compiled function?
Mar
4
answered Real integral evaluates to imaginary number
Mar
4
revised Modify BinList to give elements indices in list instead of giving the list elements belonging to each bin
added 1 character in body