Text this: Diagonal quasi-Newton method via variational principle under generalized Frobenius norm