Closed konradvoelkel closed 1 year ago
I think the equation is correct. Note that the trace operator is not the one we know from matrices, but it's defined on higher-dimensional tensors (see remark below). Please also check here (eq. (46)): https://www.math.uwaterloo.ca/~hwolkowi/matrixcookbook.pdf
Describe the mistake In the formula, as stated, there is a trace (tr), where a transpose (T) should be instead
Location
Proposed solution Remove tr( ... ) and replace with ( ... )^T
Additional context Another issue was opened without proposed solution, but it seems it was closed by accident: issue #701