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