Timeline for Using Map to convert Feet + Inches to Inches in a List of Lists
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 1, 2016 at 23:34 | comment | added | BlacKow |
If you list is really long, you can improve performance by using vector operations: Transpose@{12 #1 + #2, #3} & @@ Transpose@data , performance gain can be quite significant as shown here
|
|
Oct 1, 2016 at 21:46 | history | edited | mikado | CC BY-SA 3.0 |
Added another (silly) option
|
Oct 1, 2016 at 20:38 | vote | accept | сакиб али | ||
Oct 1, 2016 at 20:31 | history | edited | mikado | CC BY-SA 3.0 |
Alternative approach (fixed typo)
|
Oct 1, 2016 at 20:29 | comment | added | march |
Add the Apply version to your answer: {12 #1 + #2, #3} & @@@ list .
|
|
Oct 1, 2016 at 20:28 | history | answered | mikado | CC BY-SA 3.0 |