12,618 reputation
13074
bio website linkedin.com/pub/andy-ross/14/…
location Columbia, MO
age 32
visits member for 2 years, 11 months
seen 5 mins ago

Apr
20
answered How to take several values out of a large expression?
Apr
19
comment Computing the distance between two curves obtained from image data?
Here is what that syntax means. {col[[3]] -> 1, _ :> 0} suggests we take the color value stored in part 3 of col and replace any instance of that with the number 1. Anything else gets replaced with zero. The rule delayed :> is used because we don't know ahead of time what other things might need replaced. We've manually binarized the image. Replace is done at level 2 only, hence the {2}. This means we will replace the elements in the image data matrix. If I had used {1} it would have operated on the rows and replaced them with 0 since none of the rows match col[[3]].
Apr
18
answered Interpreting text entry and splitting it in a Manipulate text field?
Apr
18
comment Adding rules to permutations
@whuber I completely agree. I made that comment under the assumption that there would be high probability of generating a permutation that meets the criteria but that it wasn't feasible to store them all. Recent comments and edits would have led me to say exactly what you have.
Apr
18
comment Adding rules to permutations
For 64! possible permutations you are going to probably have to resort to randomly generating them and hope to capture a representative subset of the ones that meet your conditions. I don't think you will find a method that can generate and test them all in a practically finite amount of time.
Apr
18
revised Adding rules to permutations
added 1974 characters in body
Apr
18
awarded  Nice Answer
Apr
18
comment Adding rules to permutations
@rcollyer probably should give it a bit. I'm sure someone here can come up with something much more efficient than I did in 5 minutes perusing wikipedia :)
Apr
18
comment Adding rules to permutations
@rcollyer. I tried it now. Surprisingly my method seems faster.
Apr
18
comment Adding rules to permutations
@rcollyer. I didn't even think to look for such a creature ;) That would probably be much more efficient.
Apr
18
revised Adding rules to permutations
added 64 characters in body
Apr
18
answered Adding rules to permutations
Apr
17
comment Scale Insetted Characters to Plot
Very nice. I figured there might be an easy way to do this. +1
Apr
17
revised Scale Insetted Characters to Plot
added 178 characters in body
Apr
17
answered Scale Insetted Characters to Plot
Apr
17
revised Combining values in one column (or part) when values in another column (or part) match
added 519 characters in body
Apr
16
revised Combining values in one column (or part) when values in another column (or part) match
deleted 70 characters in body
Apr
16
answered Combining values in one column (or part) when values in another column (or part) match
Apr
16
comment Plotting data with exponentials
@rcollyer this is good to know. In practice I always do but it is good to see a concrete example for why one should. Thanks!
Apr
15
awarded  Nice Answer