H method

Array2d H()

Return the Householder vectors return Lower trapezoidal matrix whose columns define the reflections

Implementation

Array2d H() {
  var H = Array2d.fixed(_m, _n);
  for (var i = 0; i < _m; i++) {
    for (var j = 0; j < _n; j++) {
      if (i >= j) {
        H[i][j] = _QR[i][j];
      } else {
        H[i][j] = 0.0;
      }
    }
  }
  return H;
}