Or, since Times threads element-wise over lists, simply.
A = {1, 2, 3} be = {2, 4, 8} ThreadTimesa, be Or, since Times threads element-wise over lists, simply: a be Please note that the efficiency of the two solutions is not the same: I = RandomInteger 10, {5 10^7} ; {First Timing I i, First Timing Thread Times i,i} (* -> {0.422, 1.235} *) Edit The behavior of Times is due to the Listable attribute. Look at this: SetAttributesf,Listable; f{1,2,3},{3,4,5} (* -> {f1,3,f2,4,f3,5} *).
2 Also a * b, because it does element-wise multiplication. – Nayuki Minase Oct 5 '11 at 14:44 @Nayuki It is already there – belisarius Oct 5 '11 at 14:47.
You can do this using Inner by using List as the last argument: In5:= InnerTimes, a, b, List Out5= {2, 8, 24} but as others already mentioned, Times works automatically. In general for things like Inner, it's frequently useful to test things with "dummy" functions to see what the structure is: In7:= Innerf, a, b, g Out7= gf1, 2, f2, 4, f3, 8 and then work backwards from that to determine what the actual functions should be to give the desired result.
1, especially for the suggestion of using dummy functions. – rcollyer Oct 5 '11 at 16:01.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.