L method

Array2d L()

Return lower triangular factor return L

Implementation

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