Linear algebra (mygrad.linalg)#

Matrix and vector products#

matmul(x1, x2[, out, dtype, constant])

Matrix product of two tensors:

multi_matmul(tensors, *[, constant])

Matrix product of two or more tensors calculated in the optimal ordering

einsum(subscripts, *operands)

Evaluates the Einstein summation convention on the operands.

Norms and other numbers#

linalg.norm(x[, ord, axis, keepdims, ...])

Vector norm.