How to Add a row vector to a column vector like matrix multiplication

前端 未结 3 683
自闭症患者
自闭症患者 2021-01-24 01:44

I have a nx1 vector and a 1xn vector. I want to add them in a special manner like matrix multiplication in an efficient manner (vectorized):

Example:



        
3条回答
提交回复
热议问题