1,879 reputation
532
bio website
location
age
visits member for 2 years, 9 months
seen 41 mins ago

18h
comment What graph distributions are available in Mathematica?
@Szabolcs Yes, but it has directed random graphs, random trees. I expect Mathematica to include those too eventually.
18h
comment What graph distributions are available in Mathematica?
@Szabolcs I don't have any reason to believe it is incomplete. It just seemed too small compared to networkx. But I guess your ?*GraphDistribution kind of proves that if there is any additional one, it is "hidden", not part of the "officially supported" Mathematica.
18h
comment What graph distributions are available in Mathematica?
@Szabolcs Is that all? I thought that was just a sample.
1d
comment Why First (or Last) and Take are distinct functions?
@SjoerdC.deVries There are some people from Wolfram in this forum. They could give a definitive answer.
1d
comment Why First (or Last) and Take are distinct functions?
@SjoerdC.deVries Again, I am not suggesting to remove First or Last in place of Take. It's the other way around.
1d
comment Why First (or Last) and Take are distinct functions?
@DanielLichtblau Note that I am not suggesting to replace First and/or Last with Take, but the other way around. I think it's Take that's superfluous. The fact that First[list] returns an element and First[list,1] (as I'd define it) a sublist is an irregularity, but is it that bad? ... Just a thought.
1d
comment Why First (or Last) and Take are distinct functions?
@bills Of course. I'm just asking about the design reasons. Besides, it's annoying to have write first[list_, n_] := Take[list, n] on every notebook.
Nov
19
comment Why Infinity /. _?(# < 6 &) -> 0 replaces Infinity with ComplexInfinity?
Maybe mathematica.stackexchange.com/q/5822/534
Nov
19
comment Why Infinity /. _?(# < 6 &) -> 0 replaces Infinity with ComplexInfinity?
If it is worth it, feel free to use/link the example in this question.
Nov
19
comment Why Infinity /. _?(# < 6 &) -> 0 replaces Infinity with ComplexInfinity?
This is a very good answer. However, you might want to post a separate question and answer it yourself, since that will make this information easier to find for others. If you do, please post a link in a comment to my question.
Nov
19
comment Why Infinity /. _?(# < 6 &) -> 0 replaces Infinity with ComplexInfinity?
Why the close votes? I think this wasn't that obvious! I changed the title using @kguler's (+1) simpler example.
Nov
18
comment Label rows and columns of an ArrayPlot?
Almost. Only one more thing. The column labels should be rotated, otherwise they get scrambled. How can I do that?
Nov
17
comment Community detection on weighted graphs?
I think this interpretation of EdgeWeights in FindGraphCommunities is inconsistent to that in WeightedAdjacencyGraph. In WeightedAdjacencyGraph a weight of Infinity means that the vertices are not linked, whereas in WeightedAdjacencyGraph it means that they are strongly connected!
Nov
17
comment Community detection on weighted graphs?
Two questions: EdgeWeights have to be between 0 and 1? Vertices connected with larger EdgeWeights are considered closer or farther (that is, larger EdgeWeights pull vertices to the same community or to distinct communities)?
Oct
21
comment Using a compiled function inside NIntegrate gives “CompiledFunction::cfsa” message
I am worried that this solution might affect the performance boost that Compile is supposed to give. I am referring to the _?NumericQ pattern matching. Isn't there a more direct solution? Perhaps in Math 10?
Oct
21
comment Why does Mathematica stop when run in the background in command line mode?
should this be tagged as bug?
Oct
17
comment Detect Messages within an expression without losing the return value?
expr2 gets evaluated only once after expr1 has completed, if and only if expr1 generates one or more messages. expr2 doesn't need to know the specific messages generated by expr1 (those will get printed to $Messages, so I will see them there if I have to).
Oct
17
comment Detect Messages within an expression without losing the return value?
The interface I had in mind was something like withMessageDetection[expr1, expr2], which always returns the result of expr1, and evaluates expr2 (ignoring its return value, but Print inside expr2 still has effect) if and only if Messages are generated inside expr1.
Oct
17
comment How can I construct and visualize a hypergraph?
+1 This is the approach I like the most.
Oct
17
comment Wolfram Workbench - Mathematica Development Alternatives
Where can I find the Workbench plugin for Eclipse? Is it free?