Calculate the optimal size of the WORK array in dhseqr
function dhseqr_workdim import Modelica_LinearSystems2.Math.Matrices.LAPACK; input Real H[:, :]; output Integer lwork; output Integer info; end dhseqr_workdim;