55,894 reputation
5136324
bio website
location ND
age 31
visits member for 2 years, 6 months
seen 9 hours ago

contact details

Visit Mathematica.SE


Jul
18
answered How to plot a graph from it's incidence matrix?
Jul
18
comment How to plot a graph from it's incidence matrix?
Actually that makes is quite clear that your definition is completely different from Mathematica's definition ... why do you say it's the same?
Jul
18
comment How to color edges of a graph which has multiple edges connecting certain vertices
I deleted my answer because it didn't solve your problem and because I don't think that it is possible to colour two edges between the same two vertices differently using Graph in Mathematica 10. The the new-in-10 multigraph support is not the way to go.
Jul
18
comment How to plot a graph from it's incidence matrix?
I don't understand that definition fully because it relies on information presented earlier in the book. (What is $X$, what is $A$?) But it looks like it's not the same as Mathematica's definition.
Jul
18
comment How to plot a graph from it's incidence matrix?
The terms "incidence matrix" is used for several completely different things. What do you mean by "incidence matrix" exactly? Are you working with bipartite graphs?
Jul
18
comment Implement settable properties
Well, it's not useless, it's interesting. I just can't apply it to my problem :-) In the end I'm using a syntax like ObjSet[obj, property -> value] to change the state of obj.
Jul
18
revised How to return a string from LibraryLink?
edited title
Jul
18
revised How to return a string from LibraryLink?
edited title
Jul
18
asked How to return a string from LibraryLink?
Jul
17
comment Simulated Annealing Convergence
@shrx Lots and lots of links got broken in the last few days, including documentation links. This is bad. Here's Google Cache: webcache.googleusercontent.com/… I referred to this KB article tens of times on this site, I'm not going to go through all those and update them.
Jul
17
revised Simulated Annealing Convergence
added 1 character in body
Jul
17
comment Shared variable impacting speed?
SetSharedFunction and SetSharedVariable force the function or variable to be evaluated by the main kernel (not subkernels). Every single time counter++ is evaluated, the subkernel will pause and wait for the main kernel to finish this evaluation. In your example this means that bidirectional communication between the main kernel and subkernels will be forced 1000 times, even if you use Method -> "CoarsestGrained". (And this commununication is costly: one should always try to minimize it.) Just don't use SetSharedVariable if performance is important.
Jul
17
comment How to get the list of notebooks that are automatically opened when Mathematica starts?
I corrected this to work even if the option is not explicitly set.
Jul
17
revised How to get the list of notebooks that are automatically opened when Mathematica starts?
deleted 2 characters in body
Jul
17
comment How to get the list of notebooks that are automatically opened when Mathematica starts?
Options[$FrontEnd] gives you the same info as the option inspector. But I always thought that Mathematica will only auto-open notebooks on OS X, and that's an OS X feature, not a Mathematica feature. (I might be wrong.)
Jul
17
comment Implement settable properties
Regarding why I need an object ID, and why this is non-negotiable: the ID is a handle to a data structure implemented in C, not in Mathematica, and I'm also using managed library expressions. Obj[1] and Obj[2] refer to different data structures.
Jul
17
comment How do I plot points on a sphere using spherical coordinates?
Transform the coordinates to Cartesian form, then use ListPointPlot3D.
Jul
17
comment Mathematica 10 doesn't support path containing Chinese characters
Have you already reported this to Wolfram support?
Jul
17
comment MinGW-64 and CompilationTarget -> “C”: can't make library
Related: mathforum.org/kb/message.jspa?messageID=7841068 It looks like to use MathLink (not LibraryLink) some libraries need to be converted first. I don't know much about this.
Jul
17
revised MinGW-64 and CompilationTarget -> “C”: can't make library
added 6 characters in body