Feeds
提问
How can I multiply each row of a matrix with every row of another matrix elementwise?
I have two matrices A and B with size k x m and l x m, respectively. I want to multiply each row of matrix A with each row of ma...
8 years 前 | 1 个回答 | 0
1
个回答提问
How can I sum over specific dimensions in a n-dimensional array?
I have an array of unknown dimension n. I want to sum the values of the array over the last d dimensions in order to get a new a...
8 years 前 | 1 个回答 | 0
1
个回答已解决
Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).
8 years 前


