Linear algebra functions

matmul(x1, x2[, out, order])

Computes the matrix product.

matrix_transpose(x)

Transposes the innermost two dimensions of x, where x is a 2-dimensional matrix or a stack of 2-dimensional matrices.

tensordot(x1, x2[, axes])

Returns a tensor contraction of x1 and x2 over specific axes.

vecdot(x1, x2[, axis])

Computes the (vector) dot product of two arrays.