34,352 reputation
549142
bio website
location
age
visits member for 2 years
seen 6 hours ago

Apr
9
comment How to export 3D plot, without losing the specified view of rotation?
You have two good answers so I'll just comment to emphasise that % does not refer to the contents of the last output cell, it refers to the last output expression from the kernel. Nothing you do to the output cell changes the expression stored in %, whether it's rotating the graphics or even deleting it entirely and replacing it with a photo of your cat.
Apr
9
comment Open an MX file used by the kernel
Why is this tagged wolfram-alpha-queries ?
Apr
9
comment Open an MX file used by the kernel
@DuralAkata, you asked a question about an error message when opening .mx files. Yves has answered that question. If you have a new question please use the "Ask Question" button to start a new one.
Apr
9
comment Line Intensity Profile From Image
Nice idea. I wouldn't have thought to use ImageTransformation for this.
Apr
8
comment Problems using hand-made transformation functions
I appreciate that gamma functions are just an example here, but as a point of interest there is also Developer`GammaSimplify which will attempt to reduce the number of gamma functions even if the resulting expression is more complex, e.g. Developer`GammaSimplify[Gamma[z+4]/Gamma[z]]
Apr
8
comment Missing V9 Menu: File -> New -> FreeCDF
I think the CDF option was there in version 8 but it seems to have been removed in v9.
Apr
7
comment Nested for loop in mathematica
While it's great that you didn't dump a block of unreadable code, you should try to use proper Mathematica syntax in your examples. You've used == instead of = in the first argument of For, and you appear to be using the wrong brackets () in places, though it's hard to tell what the real intention was.
Apr
4
comment Caching RecursionLimit::reclim error
When a message is generated inside a nest of Check expressions, every one of those Checks evaluates its fail expression. The inner Check doesn't "absorb" the message if you see what I mean. So in your code when a exceeds 100 you stop creating recursions with your If statement, but this happens inside a nest of ~1000 Check expressions. Therefore a gets incremented a further 1000 times as the message propagates outwards, triggering every Check to evaluate a+=1. For a simpler example define f := Check[f, i++] then evaluate i=1; f
Apr
3
comment Union::normal: Nonatomic expression expected when using Uncompress
The .dat file is assumed to contain tabular data, so Import gives you a 2D list. You can use Import["file.dat", "Text"] to get the string directly. The messages are presumably coming from the evaluation of myExpression
Apr
1
comment .NET link - index of property
It would be great if you could add some simple example code to this answer. It will make it more useful for anyone else facing the same problem who finds this Q&A.
Apr
1
comment ListContourPlot memory problems?
Try using the option Method -> {"DelaunayDomainScaling" -> True} (see this)
Mar
30
comment Loop integrals (quantum field theory)
Just to let you know, your assertion that Mathematica didn't even try to compute the integral is wrong - it tries and can't find a result so it returns the input expression. This is the correct and expected behaviour.
Mar
27
comment Bug with SparseArray selector in Pick
I notice it doesn't happen if x is a packed array, e.g. try with x = Range[6]
Mar
27
comment Bug with SparseArray selector in Pick
Nice discovery. Horrible bug - it happens even if x is Protected and Locked.
Mar
27
comment Bug with SparseArray selector in Pick
@JacobAkkerboom, I expect that comes from Typeset`MakeBoxes[_, StandardForm] not having a rule for System'Private'InternSequence[] like it does for Sequence[]
Mar
25
comment How to extract the edge from a set of points
@RunnyKine, sure, just put an appropriate list of neighbour coordinates into Outer.
Mar
25
comment How to extract the edge from a set of points
Related: mathematica.stackexchange.com/q/4624/862
Mar
21
comment Why are numeric division and subtraction not handled better in Mathematica?
This does not in any way answer the question.
Mar
20
comment OpenCLLink eating up all host memory
@user2224780, if you're sure you are freeing all the memory you've allocated then either my fix is breaking something as you suggested, or there is another bug in OpenCLLink. Sorry I can't be more help! Maybe Wolfram technical support can help...
Mar
20
comment OpenCLLink eating up all host memory
@user2224780, that's a shame, as I said it has been working for me with CUDALink. I'm not sure if that message refers to host or device memory - what does the mathkernel memory usage look like when you get that error?