    of LZWORK.

  LZWORK  INTEGER
          The length of the array ZWORK.
          If M &gt; 0, LZWORK &gt;= MAX(1,2*N+MAX(MIN(N,M)-2,0));
          If M = 0, LZWORK &gt;= 1.
          For optimum performance LZWORK should sometimes be larger.

          If LZWORK = -1, then a workspace query is assumed; the
          routine only calculates the optimal size of the ZWORK
          array, returns this value as the first entry of the ZWORK
          array, and no error message related to LZWORK is issued by