m = {a, b, c};
n = {{e, r, t}, {y, u, i}, {g, h, j}};
k = Outer[Divide, m, m];
k/n
gives
{{1/e, a/(b r), a/(c t)}, {b/(a y), 1/u, b/(c i)}, {c/(a g), c/(b h),
1/j}}
I want to do this with very large matrices filled with numbers of arbitrary precision. Is there a faster way?
EDIT
The sizes I am looking at for my practical applications start at 20000 and 20000^2 for the vector and matrix, respectively (of course the examples don't have to be with that many).
I am also interested in any method that might parallelise well.
m
in practical use? $\endgroup$m/(n ConstantArray[m, Length[m]])
and see how fast it is. $\endgroup$