55,550 reputation
4135322
bio website
location ND
age 31
visits member for 2 years, 6 months
seen 8 hours ago

contact details

Visit Mathematica.SE


1d
comment Mathlink program with low cpu usage on linux machines only
Are you sure you are measuring CPU usage correctly on multi-core CPUs? E.g. some process monitors will display 25% when 1 out of 4 cores is fully used. Others would display 100% for 1 core and 400% for 4 cores. Are you compiling the MathLink program with the same version of Mathematica that it is being used with? What is your precise Mathematica version? (E.g. 8.0.4 64-bit.)
1d
comment How to generate nonperiodic tilings?
For generating self-similar non-periodic tilings, like the Penrose tiling, the simplest method is to recursively subdivide the tiles. You'll find a lot of information on this if you search for "deflation". For implementing this in Mathematica you can use some recursive programming, the same way e.g. Koch curves are generated.
1d
comment How to generate nonperiodic tilings?
What is the specific question you are asking? There is no question stated in your post. For Penrose: geom.uiuc.edu/~crobles/tiling/penrose/inflation.html Code: meta.mathematica.stackexchange.com/a/554/12
1d
comment Populate an upper triangular matrix from a vector of elements
@Mr.Wizard No, keep it!
1d
comment Populate an upper triangular matrix from a vector of elements
Great! I didn't mention it but I was hoping for something using this functionality. Is StructuredArray useful here?
1d
comment Populate an upper triangular matrix from a vector of elements
@OleksandrR. I was thinking of a general solution, but actually I will only use machine integers in practice. A fast solution using machine integers only will definitely be useful.
1d
comment Populate an upper triangular matrix from a vector of elements
@MrWizard I hope you don't mind, I know we went through this once in the past. Perhaps v10 has new ways. Note: I do have a number of solutions to the problem (including MrW's), but I chose not to share them in order not to bias the answers.
2d
comment Is there a list of Octave functions mapped to the related Mathematica one?
@Mr.Wizard Well, if we want to list all ways to replace MATLAB's for, it's going to take a while and will include Outer, Inner, Map, Apply, Cases, Select, and many more functions. That's exactly why I don't think it's a good idea to learn Mathematica based on such a list.
2d
comment Is there a list of Octave functions mapped to the related Mathematica one?
I can certainly see why you are looking for such a list. I have wished for similar lists before. But beware: Mathematica and MATLAB are very different. Using such a list means that you are thinking in MATLAB/Octave and trying to impose that style on Mathematica, which is going to be a disaster. (I'm saying this based on personal experience when I was learning R, and R is close to Mathematica than Mathematica is to Octave.)
Jul
22
comment How can I list all the 'countries 4000 km far from current location'?
It would be nice to also list the countries in addition to plotting them. Are there v10 tools for this? (I don't know.)
Jul
22
comment Collect the lists
Drop the Print and change Do to Table. Is this what you need?
Jul
21
comment Kernel crash after idle in version 10.0
Has anyone found a less disruptive solution than completely disabling internet access for Mathematica?
Jul
21
comment How to combine the sum of two rational polynomials into a single rational polynomial
Googling for "mathematica combine rational" gives this page which shows this command.
Jul
21
comment How to combine the sum of two rational polynomials into a single rational polynomial
Use Together.
Jul
21
comment Bug in handling backslashed Cyrillic symbols in v.10.0.0?
Possibly related
Jul
21
comment Workbench fails to run on OSX. Reports “Front end could not be launched.”
So you found it. Sorry for not giving the link. At the time I was in a hurry and Community didn't load in half a minute.
Jul
20
comment Workbench fails to run on OSX. Reports “Front end could not be launched.”
There's a thread about this on Wolfram Community. Take a look. Today it takes an extremely long time to load so I didn't look it up for you.
Jul
20
comment Kernel crash after idle in version 10.0
@rcollyer It is happening to me too on OS X 10.9.4. Sometimes I heard a beep (like Beep[]), then I look at Mathematica and see that the kernel has crashed.
Jul
20
comment NSolve missing solutions in Mathematica 10
When using VerifySolutions -> False, it gives three, one wrong.
Jul
19
comment Caesar's cipher
Rule @@@ Thread[{a, RotateLeft[a, n]}] is simpler as Thread[a -> RotateLeft[a,n]]