Functionsยง
- frob_
inner - Computes the Frobenius inner product of two matrices, which is the same as computing the dot product of the vectorized matrices.
- kron
- Computes the Kronecker product of matrices.
- outer
- Computes the outer product
ab^Tof vectorsaandb. - scale_
rows - Scales the rows of
aby the respective scaling factors inb. Useful for efficiently computing left-multiplication by a diagonal matrix. - sq_
vec_ dist - Computes the squared Euclidean distance between two vectors