Timeline for Best way to extract values from a list of rules?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 24, 2019 at 12:39 | comment | added | user55405 |
This method is nice and quick, but just to clarify a distinction which may depend on your use case: {x, y} /. {} returns {x, y} while {}[[;;, ;;, 2]] returns {} (from kguler's answer).
|
|
Jan 14, 2013 at 11:22 | comment | added | PlatoManiac | @Mr.Wizard I deciphered that fact recently. Thx anyways though..;) | |
Jan 14, 2013 at 10:58 | comment | added | Mr.Wizard | @PlatoManiac that's Queen, FYI. ;-) | |
Sep 15, 2012 at 13:52 | vote | accept | stevenvh | ||
Sep 12, 2012 at 16:31 | comment | added | stevenvh | +1 - This looks like the right solution; shorter doesn't seem possible, and now I see it it makes sense. It just didn't come up in my mind :-( Thanks. | |
Sep 12, 2012 at 16:28 | comment | added | PlatoManiac | You are the minimalist king with maximal kingdom!! | |
Sep 12, 2012 at 16:26 | history | answered | Heike | CC BY-SA 3.0 |