Skip to main content
3 of 7
added 5 characters in body

Mathematica Equivalent of numpy broadcast addition for large arrays

What is the Mathematica equivalent of the following python code with vectors' broadcast addition .

import numpy as np

a=np.random.rand(5000,1,5);
b=np.random.rand(1,500,5);

result = a+b