TomD
Reputation
2,973
Next privilege 3,000 Rep.
 18h awarded Nice Answer Jan18 awarded Yearling May19 awarded Custodian May19 reviewed Approve How to view all graphs available in GraphData? Feb14 revised Minimum in a nested list Slightly faster for method 1 Feb14 answered Minimum in a nested list Feb14 comment Non-descending Tuples related question on StackOverflow where High Performance Mark gives a nice answer Feb13 revised Rearranging a List Added a GraphPlot Feb13 revised Rearranging a List Added a further two examples Feb13 answered Rearranging a List Feb10 comment Problem with With You might be interested in Leonid Shifrin's answer to this question Jan18 awarded Yearling Oct20 answered Group list of lists by Total Oct4 answered Position of First nonzero number Sep12 comment Grid Lines in ListPlot Does including Axes -> {False, True} or AxesOrigin -> {0, 0} have the desired effect (I am using Mma 7)? Aug30 comment Pick elements of largest absolute value @Mr. Wizard. That is true. Didn't think of that. Thanks Aug30 answered Pick elements of largest absolute value Aug28 comment Is there a “precedence table” for the canonical Sort ordering? Sort@Transpose@{list, Ordering@Ordering@list} => {{0, 1}, {I, 2}, {0.1, 3}, {2, 4}, {2 + I, 5}, {2^x, 6}, {"y", 7}, {"Y", 8}, {"yy", 9}, {x, 10}, {2 x, 11}, {x^2, 12}, {x^x, 13}, {x^(2 x), 14}, {X, 15}, {xX, 16}, {xxx, 17}} and, as far as I know, the following (always?) holds: (Sort@mylist)[[Ordering@Ordering@mylist]] == mylist (see here). [+1,btw] Aug26 comment Pattern Matching with Indexed Object Why not just solution /. (a[_] -> x_) :> x => {1, 10, 100}? Aug23 comment Select and Blank My interpretation of the question is that the first value could be any one of "String1", "String2", "String3", "String4" (any first value). For example, what the OP tried was Select[test, (# == {_, "a"}) &]. No mention of string (lower-case) there. I know what my code does, btw.