I have a function:
f = # - ((1 - #2)*a + #2*b) &;
and I would like to apply it to a list like this: {{1,2},{2,3}....}
I expecting to get a list of numbers.
Have anyone an idea?
I have a function:
f = # - ((1 - #2)*a + #2*b) &;
and I would like to apply it to a list like this: {{1,2},{2,3}....}
I expecting to get a list of numbers.
Have anyone an idea?
f @@@ list– Kuba Jun 07 '17 at 15:54f2 = #[[1]] - ((1 - #[[2]])*a + #[[2]]*b) &; f2 /@ list– Bob Hanlon Jun 07 '17 at 17:59