powered by
For matrix_trace(A %*% B), uses the O(n^2) identity trace(A %*% B) = sum(A * t(B)) instead of forming the full matrix product.
matrix_trace(A %*% B)
trace(A %*% B) = sum(A * t(B))
matrix_trace(x)
A Trace atom or equivalent expression (scalar)
An Expression (square matrix)