David Carraher
Reputation
12,341
88/100 score
 Aug 30 revised Calculating expected value from paired values and weights added 156 characters in body 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 revised Calculating expected value from paired values and weights deleted 152 characters in body Aug 30 revised Calculating expected value from paired values and weights added 316 characters in body Aug 30 answered Calculating expected value from paired values and weights Aug 30 revised Finding all shortest paths between two vertices added 212 characters in body 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 awarded Nice Answer 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]}] Jun 21 revised How convert list of numbers to list of points on x-axis? added 54 characters in body Jun 20 answered How convert list of numbers to list of points on x-axis? Jun 16 awarded Nice Answer May 31 comment Permuted Prime Numbers FromDigits[Permutations[IntegerDigits[#]]] & /@ {113, 337, 199} May 27 awarded Popular Question 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]