Esempio n. 1
0
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)
Esempio n. 2
0
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)
Esempio n. 3
0
def product_matrix_matrix(A, B, X):
    """
    Computes the matrix/matrix product A*B = X
    """
    linalg_.product_matrix_matrix_(A, B, X)
Esempio n. 4
0
def product_matrix_matrix(A,B,X):
    """
    Computes the matrix/matrix product A*B = X
    """
    linalg_.product_matrix_matrix_(A,B,X)