Timeline for Iterating over a list and defining the range accordingly
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 10, 2019 at 12:11 | comment | added | Wiliam | Thank you that is indeed sorted it :) | |
| Sep 10, 2019 at 12:07 | comment | added | Lukas Lang | If I understand you correctly, x^-Length@l[[i]] should work, no? Also, a more concise alternative: AssociationMap[ Total[x^-Length@# x^Map[Length, Select[l, ContainsAll@#]]] &, l] | |
| Sep 10, 2019 at 11:59 | history | edited | Αλέξανδρος Ζεγγ | CC BY-SA 4.0 | added 8 characters in body |
| Sep 10, 2019 at 11:55 | history | asked | Wiliam | CC BY-SA 4.0 |