Reputation
70,930
Next tag badge:
570/400 score
73/80 answers
Badges
5 172 392
Impact
~820k people reached

2h
awarded  Nice Question
4h
comment Making Mathematica function files like in MATLAB
Why do you want to separate each function out into its own file? This is really just an idiosyncrasy (and limitation) of MATLAB. You don't need to do it when you use other languages.
1d
comment How to send an “end-of-file” marker to a process object's standard input?
@MikeLimaOscar Sounds like an answer!
1d
asked How to send an “end-of-file” marker to a process object's standard input?
1d
revised Does RunProcess work on Chinese Windows?
edited tags
1d
revised How to call rsync from Mathematica?
edited tags
2d
answered How to force evaluation on the right of an @ operator?
2d
comment How to force evaluation on the right of an @ operator?
Instead of f @ (g @@ x) you might want to use f @ Apply[g] @ x, which is more verbose, but does save parentheses. Unfortunately when you use pure functions (...& notation), very often it's still necessary to use parens because & has a low precedence and tends to "eat" everything preceding it.
2d
comment How to force evaluation on the right of an @ operator?
No, there isn't, because @ has a very high precedence. The issue is with precedences. Should x OP1 y OP2 z be interpreted as (x OP1 y) OP2 z or x OP1 (y OP2 z)? In Mathematica it's the latter only if OP2 has a higher precedence than OP1.
2d
comment RandomGraph with specific constraints
What I was trying to ask if whether you need all graphs that satisfy the constraints to be sampled with equal probability. I'm assuming yes.
2d
comment RandomGraph with specific constraints
When you say "random graph" do you mean "just give me some graph with these properties" or do you mean true uniform sampling from the set of all graphs satisfying your constraints? The latter is a much harder problem. Also, can you list your constraints concisely and clearly?
2d
comment How can I make Plot show the plot while it's computing it?
What do you need this for? I think it would be easier to re-implement adaptive plotting (not hard for 1D) than to try to coerce Plot to do this for you.
2d
comment How does Mathematica calculate its AdjacencyMatrix[ ] and VertexDegree[ ]
Vertex ordering is completely unrelated to the names of the vertices. Vertices can be any expression, not just numbers. Never assume that numerical vertices are ordered from smallest to greatest. Use VertexIndex and VertexList to relate the index of a vertex to the vertex itself. In practice, Mathematica puts the vertices in the order you first specify them (as they appear in the edge list in your example), but never count on this as there's no guarantee and I won't be surprised if future versions change this.
May
25
awarded  Good Answer
May
24
awarded  Favorite Question
May
22
comment A bug in Integrate
@Vaclav I noticed that most of your posts here are bug reports. Please do not do this. This site is for questions only. If you wish to report bugs, contact Wolfram directly. Wolfram will not see bugs reported here. If you only report here, they won't get fixed. This site is not affiliated with Wolfram.
May
21
comment Parsing a CSV file using Interpreter
@Taliesin Thank you!!! This is great!
May
21
revised make trace of a matrix listable?
deleted 39 characters in body
May
21
answered make trace of a matrix listable?
May
21
comment FullSimplify cascades too much/groups variables too eagerly
Take a look at ComplexityFunction to understand why Simplify does this.