I have two numpy arrays
A= array([[1,2,3,4],
[5,6,7,8],
[9,10,11,12]])
B = array([10,20,30])
and I want to generate array C:
C = array([11,12,13,14],
[25,26,27,28],
[39,40,41,42]])
I have tried some ways.. but they seem very inefficient. Is there any way this can be done efficiently?