NIA/crash-and-squeeze

Avoid copy-paste in Matrix::diagonalize <-> NineMatrix::diagonalize

Opened this issue · 0 comments

NIA commented

The following functions contain mostly similar code:

  • Matrix::diagonalize vs NineMatrix::diagonalize
  • Matrix::do_jacobi_rotation vs NineMatrix::do_jacobi_rotation

Something could be extracted to some common (templated?) method(s)