bensonlee5 26 Jul 2026 in Public trace middle expression should be right multiplied by x rather than x^T: x^T\left(Q + K^TRK\right)x