Reputation
3,690
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 16 50
Impact
~62k people reached

Apr
6
comment How to compile code that involve sparse array?
@J.M. Hi, J.M. The most timing consuming part as you can see is the do loop. v0 and v1 are vectors, we can get new vector from v0 and v1 by 2 hh.v1 - v0 and extract element at position i of it, stored it in List u. and then the v0 is replaced by v1, and v1 by the new vector, and it goes on and on, until we get a whole list of u, so approximately NN iterations
Apr
6
asked How to compile code that involve sparse array?
Apr
1
comment ListPointPlot3D with connected points?
This is great!! I think your answer is better than Dr. belisarius. belisarius's method join points with black lines. However, if there are groups of curve data, your method gives consistent color in each curve, fantastic!
Mar
26
comment Why autocompletion of file name is not working in notebookdirectory?
Hi, george2079. I updated my post. Have a look: )
Mar
26
revised Why autocompletion of file name is not working in notebookdirectory?
added 812 characters in body
Mar
26
comment Why autocompletion of file name is not working in notebookdirectory?
Hi, MarcoB. I don't understand your answer. I changed NotebookBrowseDirectory, however it doesn't change anything
Mar
25
asked Why autocompletion of file name is not working in notebookdirectory?
Feb
11
revised Compiling more functions that don't call MainEvaluate
added 1145 characters in body
Feb
11
revised How to convert integer value into real value like 2 into 2.d0 in output of matrix in FortranForm?
edited tags
Feb
11
revised Using FortranForm for d0 notation?
edited tags
Feb
10
comment Table with List iterator return unpacked list
@DanielLichtblau good explanation ! +1
Feb
10
comment Table with List iterator return unpacked list
@DanielLichtblau But why the one dimensional Table gives packed array? The iterator there is also non-explicit
Feb
10
comment Table with List iterator return unpacked list
@DanielLichtblau Your comment is important. +1
Feb
10
accepted Table with List iterator return unpacked list
Feb
9
revised Table with List iterator return unpacked list
added 255 characters in body
Feb
9
comment Table with List iterator return unpacked list
interesting, +1
Feb
9
comment Table with List iterator return unpacked list
@JasonB yeah. But the storage is different, that is what PackedArrayQ checks.
Feb
9
comment Table with List iterator return unpacked list
@JasonB I just notice in your first comment, you write 0.1, that caused the unpacking! Do you really mean it? It is due to auto compilation length of Table, this is not odd, it is mma's design
Feb
9
comment Table with List iterator return unpacked list
@MarcoB Nope, that is because of the auto compilation length of Table is not exceeding 250 limit
Feb
9
comment Table with List iterator return unpacked list
@JasonB If it is not a bug, it is a great pitfall. Unpacking sometimes significantly harm performance.