Skip to main content
12 events
when toggle format what by license comment
Apr 27, 2019 at 3:39 answer added WReach timeline score: 12
Oct 1, 2014 at 5:22 vote accept Tyler Durden
Dec 7, 2013 at 4:26 comment added Silvia Possibly duplicate (16947).
Dec 7, 2013 at 3:51 answer added C. E. timeline score: 10
Dec 7, 2013 at 0:39 history edited Szabolcs CC BY-SA 3.0
deleted 3 characters in body; edited title
Dec 6, 2013 at 23:41 comment added Sjoerd C. de Vries The name is not virtual function but Pure Function in a Mathematica context.
Dec 6, 2013 at 23:14 history edited Kuba
edited tags
Dec 6, 2013 at 23:05 answer added Kuba timeline score: 5
Dec 6, 2013 at 22:50 answer added Mathfan timeline score: 8
Dec 6, 2013 at 22:31 comment added Daniel Lichtblau This variant seems to work. Map[ With[{a = #}, Length[Select[IntegerPartitions[10], First[#] == a &]]] &, Range[10]] Out[257]= {1, 5, 8, 9, 7, 5, 3, 2, 1, 1}
Dec 6, 2013 at 22:29 comment added Daniel Lichtblau You may need to use the variant form Map[Function[{x},...,First[#]==x&]]],...].
Dec 6, 2013 at 22:19 history asked Tyler Durden CC BY-SA 3.0