Two things happening here: the number is larger than the source by a factor of 10, and it is rounded by 10000000. With the code you show, this CAN NOT HAPPEN, period. Please show the complete log from your real code.
... View more
Indeed it is elementwise multiplication, but if you want the row sums of c, which was part of the original problem, then the whole process simplifies to normal matrix multiplication:
a = {1 2 3};
b = {1 2 3, 4 5 6, 7 8 9};
d = b * a`;
... View more