10,824 reputation
11661
bio website
location Ste-Suzanne, France
age
visits member for 2 years, 10 months
seen 13 hours ago

Mar
29
comment Morphological Components with periodic boundary conditions
Ok. I now see it. I needed to remove the morphological components and look at the 1's and 0's to fully get the picture.
Mar
29
comment Morphological Components with periodic boundary conditions
Can you show an example of what you would like the output to look like? (even if using a smaller grid). I'm having trouble visualizing what you have in mind.
Mar
26
comment How can I close a gap in a bar chart?
Please include the data, if possible so we can reproduce your graph and inspect it.
Mar
20
awarded  Popular Question
Mar
19
comment Mathematica style (drawing cubes)
Without Cube: Coords[r_]:={#1,#2,Floor[Sqrt[r^2-#1^2-#2^2]]}&@@@With[{t=Sqrt[r^2-1]},Select[J‌​oin@@Table[{x,y},{x,t},{y,1,x}],Norm[#]<=t&]]; Cubes[r_]:=(Cuboid/@(Union@@(Permute[#,SymmetricGroup[3]]&/@Coords[r])-1));
Mar
19
comment Mathematica style (drawing cubes)
@Mr.Wizard Easy to overlook. One rarely uses the Cuboid with a single point.
Mar
19
comment Mathematica style (drawing cubes)
You can drop Cube since it serves no purpose. E.g. Graphics3D[Cuboid[{2, 3, 4}], Axes -> True] will produce a unit cube aligned with the grid.
Mar
17
revised Convert list to sequence
rolled back to a previous revision
Mar
17
revised Convert list to sequence
added 30 characters in body
Mar
17
comment Convert list to sequence
Hmmm. I wasn't aware of that. I'll try to fix it.
Mar
17
comment Convert list to sequence
Good example of SlotSequence, which I never seem to think of.
Mar
17
answered Convert list to sequence
Mar
17
comment What is the fastest way to extract a substring from a huge string?
My goodness, what a difference it makes to work with lists rather than strings! This is something to keep in mind.
Mar
3
awarded  Enlightened
Mar
3
awarded  Nice Answer
Mar
3
comment Does RandomInteger[{0,n}] disfavor n?
"The Intel one"?
Mar
3
comment Does RandomInteger[{0,n}] disfavor n?
Thanks. You nailed it.
Mar
3
accepted Does RandomInteger[{0,n}] disfavor n?
Mar
3
comment Does RandomInteger[{0,n}] disfavor n?
belisarius, Is your point that RandomInteger is not reasonably (pseudo)random throughout the range chosen?
Mar
3
asked Does RandomInteger[{0,n}] disfavor n?