Linear Algebra#

Matrix and vector products#

mars.tensor.dot

Dot product of two arrays.

mars.tensor.vdot

Return the dot product of two vectors.

mars.tensor.inner

Returns the inner product of a and b for arrays of floating point types.

mars.tensor.matmul

Matrix product of two tensors.

mars.tensor.tensordot

Compute tensor dot product along specified axes for tensors >= 1-D.

Decompositions#

mars.tensor.linalg.cholesky

Cholesky decomposition.

mars.tensor.linalg.qr

Compute the qr factorization of a matrix.

mars.tensor.linalg.svd

Singular Value Decomposition.

Norms and other numbers#

mars.tensor.linalg.norm

Matrix or vector norm.