def outer(a, b, X): """ Computes outer product a*b^T=X """ linalg_.product_matrix_matrix_(np.reshape(a, (-1, 1)), np.reshape(b, (1, -1)), X)
def outer(a,b,X): """ Computes outer product a*b^T=X """ linalg_.product_matrix_matrix_(np.reshape(a,(-1,1)),np.reshape(b,(1,-1)),X)
def product_matrix_matrix(A, B, X): """ Computes the matrix/matrix product A*B = X """ linalg_.product_matrix_matrix_(A, B, X)
def product_matrix_matrix(A,B,X): """ Computes the matrix/matrix product A*B = X """ linalg_.product_matrix_matrix_(A,B,X)