docs: public double det() {
      if(m != n) {
        throw new IllegalArgumentException(ERR_MATRIX_NONSQUARE);
      }
      double d = pivsign;
      for(int j = 0; j < n; j++) {
        d *= LU[j][j];
      }
      return d;
    }