40,489 reputation
560165
bio website
location
age
visits member for 2 years, 5 months
seen 1 hour ago

Aug
13
comment How to plot data points in the form X, Y, E(X, Y) where X and Y coordinates are not ordered?
In version 10 you could also use Plot3D[f[x, y], {x, y} ∈ Rectangle @@ Transpose @ f["Domain"]]
Aug
13
awarded  Nice Answer
Aug
12
awarded  Popular Question
Aug
12
comment Incompatible Changes since Mathematica Version 7?
@eldo, I think the Inset thing is a bug rather than a deliberate change, so it doesn't belong in this list in my opinion.
Aug
12
comment Optimization in Mathematica
Perhaps you could provide a smaller representative data set, or code to generate one. Without more specifics about your Mathematica code nobody can answer why it is slow.
Aug
11
awarded  Nice Answer
Aug
11
answered Generating a polynomial that's accurate to within an error of no more than 1/10^5
Aug
11
comment Ragged Diamonds
@eldo, i is just the iterator variable. In the outer loop it acquires values from diamondcounts[n] and then the inner loop runs i times.
Aug
10
comment Ragged Diamonds
+1 Clever use of ArrayPad
Aug
10
answered Ragged Diamonds
Aug
10
comment Plotting a transformed region only works with integer inputs
Confirmed on Windows 7.
Aug
10
answered How to make a stereogram in Mathematica?
Aug
9
answered Can $\it{every}$ usage of While be changed into NestWhile?
Aug
8
answered Combining images with CUDA
Aug
8
comment Combining images with CUDA
The question is much clearer now, thank you. Note that your InsertImage is not actually an image but a Graphics expression. Instead of Inset you could use Translate which is quite efficient at positioning multiple copies of a single object, e.g. Graphics[Translate[InsertImage[[1]], 20 PosList], Background -> Black]
Aug
7
comment Apply an image as a texture to text
@LiamWilliam, to avoid changing the aspect ratio of the texture you will need to use AspectRatio -> Automatic and TextureCoordinateScaling -> False along with a texture coordinate function like (0.08 {#1, ar #2} &) where ar is the aspect ratio of the texture image ar = Divide@@ImageDimensions[image] and the numerical factor is adjusted to give the desired number of tilings.
Aug
7
comment How to sort my list?
Hmm, I saw a fairly consistent difference for small n but after a restart it has gone away!
Aug
7
comment How to sort my list?
For small data it is a little faster to use L2[[Ordering[L2][[Ordering@Ordering@L1]]]]
Aug
7
comment How to sort my list?
There's no need to extract the number from the position result: SortBy[l2, Position[l1, First@#]&]
Aug
7
comment Combining images with CUDA
I'm finding the question confusing. A small example would help.