Reputation
25,648
Next tag badge:
209/100 score
17/20 answers
Badges
11 79 193
Impact
~360k people reached

Apr
18
reviewed No Action Needed Dynamically filling matrix with a[[n,m]] = 1/a[[m,n]]
Apr
18
revised How can I draw a 3D cross-section of a 3-torus embedded in 4D Euclidean space?
added 35 characters in body
Apr
18
reviewed No Action Needed How can write a list as a formatted string to a file
Apr
18
comment Graph does not evaluate some options when not displayed
Thanks Jacob again for the thorough investigation, you convinced me about the way PropertyValue works :) I'll wait a bit before accepting it, though it seems other are not so interested in this issue (pity).
Apr
18
comment Solving a system of ODEs with the Runge-Kutta method
Please don't use single capital letters as variables: both C and E are protected system symbols, and no value should be assigned to them. Also note that multiplication requires at least a space, thus Cx is a symbol while C x is C times x
Apr
18
revised Solving a system of ODEs with the Runge-Kutta method
added 31 characters in body
Apr
18
comment Graph does not evaluate some options when not displayed
But that is what PropertyValue contradicts: even if the graph is not displayed at all, you can query the coordinates which obviously exist then inside g, and are not added at to the it when queried (as the size of g does not change).
Apr
17
comment Keeping axes fixed in an Animate of a 3D graphic
Ok, that is some strange data structure... Did you intend to use lists as the head of your lists?
Apr
17
reviewed Approve Keeping axes fixed in an Animate of a 3D graphic
Apr
17
comment Keeping axes fixed in an Animate of a 3D graphic
Note that Mathematica starts list indices with 1 and not 0. Dat2[[0]] returns the Head of Dat2 instead of its first element.
Apr
17
reviewed No Action Needed How to remove a singularity with WhenEvent
Apr
17
reviewed Close Problem with interpolation
Apr
17
reviewed Close Making FindShortestPath a little bit sloppy
Apr
17
comment Font sizes in graphics
Related, perhaps useful: Fontsize is too small.
Apr
17
comment Graph does not evaluate some options when not displayed
Yes, PropertyValue is the way to go, thanks. Am I right assuming that coordinates are calculated at start (as {g=Graph[...];ByteCount[g], PropertyValue[{g, 1}, VertexCoordinates],ByteCount[g]} shows that no extra memory is required for g after "calculating" the coordinates) and only options are left unevaluated until actual display?
Apr
17
comment Graph does not evaluate some options when not displayed
Thanks Jacob for the details! "the reason Graph does not automatically make such conversions is that expressions with Graph head can also be used in calculations". Now that is precisely what I wanted to do by Reap[Graph[..., VertexShapeFunction -> (Disk[Sow@#, .1] &)]. So if what you say was WRI's intention, it only works partially.
Apr
17
comment Fastest way to measure Hamming distance of integers
It seems that the dll is fine (compiled with 64bit MinGW), file (under Cygwin) reports hammingDistance.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows, though Mathematica through $LibraryError returns Library load error 193: %1 is not a valid Win32 application.
Apr
17
comment Fastest way to measure Hamming distance of integers
Thanks for the detailed instructions! However, after successful linking, compiling and inclusion of the dll dir in $LibraryPath I got an error when loading the library: LibraryFunction::libload: The function hammingDistance_I_I was not loaded from the file [...]\hammingDistance.dll.
Apr
17
comment Fastest way to measure Hamming distance of integers
@kirma Please consider posting your approach in light of my edit.
Apr
17
revised Fastest way to measure Hamming distance of integers
added 682 characters in body