Reputation
12,496
Next tag badge:
88/100 score
17/20 answers
Badges
1 20 73
Newest
 Yearling
Impact
~157k people reached

Jan
18
comment Oddity with ToExpression
Jason B, It still seems to be a bug.
Dec
11
comment How can I define operators that have the behavior I want?
Doesn't Mathematica automatically simplify logic expressions? In this case Union[Intersection[a,b],b] should be automatically be simplified to b if a, b are sets. By the way, = is the assignment operator, Set; Equal is ==.
Oct
4
comment Converting imported data into a list of pairs
+1 Nothing fancy. Nice and clean.
Sep
18
comment Boolean value of proposition assuming previous boolean values of parts of the proposition
Patrick, Why don't you post your comment as a response? I wasn't aware that Simplify could make boolean inferences.
Sep
10
comment Circular Plot and Circular Histogram
I used 5 and 25 bins (i.e. sectors) as examples.
Aug
30
comment Calculating expected value from paired values and weights
+1 Nice, clear explanation.
Aug
30
comment Calculating expected value from paired values and weights
Very good point.
Aug
30
comment Calculating expected value from paired values and weights
+1 Interesting use of Dot. It would be nice if you provided an explanation of the code.
Aug
30
comment Calculating expected value from paired values and weights
Thanks for pointing this out.
Aug
30
comment Finding all shortest paths between two vertices
It should work with weighted edges. From the documentation on GraphDistance: "For a weighted graph, the distance is the minimum of the sum of weights along any path between s and t."
Jul
20
comment Is there a nice way to display big nested tables?
I don't see any nesting in your table. It looks like a simple table of graphs with an ID and what appears to be an average value. Are you seriously planning to show each of these graphs to your audience without putting them to sleep?
Jun
21
comment How convert list of numbers to list of points on x-axis?
You may easily combine Plot and NumberLinePlot. For example, Show[{ Plot[2 Sin[x] + x, {x, 0, 15}], NumberLinePlot[{2, 4, 7, 10, 13, 6}, Spacings -> 0]}]
May
31
comment Permuted Prime Numbers
FromDigits[Permutations[IntegerDigits[#]]] & /@ {113, 337, 199}
May
20
comment InfiniteLine Woes
@MarcoB, That's just what tripped me up. And I was in an unusual hurry too.
May
20
comment InfiniteLine Woes
Thanks. The syntax even matches that of Line. I'm surprised I didn't try it.
May
20
comment InfiniteLine Woes
What about this? (from the documentation) Graphics[InfiniteLine[{0, 0}, {1, 1}], Frame -> True]
Apr
23
comment Reconstruction of interrupted paths in images
ImageCorners reference.wolfram.com/language/ref/ImageCorners.html may be useful for step 1.
Mar
7
comment Pull out scaling factor from a denominator
Algohi, That seems to be a general solution to the problem.
Mar
7
comment Pull out scaling factor from a denominator
Algohi, try ((2 + x)/7)[[2]]
Mar
7
comment VertexLabels, EdgeLabels and the direction of the arrows on a directed graph
You should be able to find solutions to all of your problems by consulting the documentation. See GraphicsGrid,VertexCoordinates, EdgeStyle, etc...