code: function findLargestAbsElement (M) {
    const te = M.elements;
    const n = M.dimension;
    let max = _Math.abs(te[0]);
    let rowCol = {
      row: 0,
      column: 0,
      value: te[0]
    };
    for (let i = 0; i < n; ++i) {
      for (let j = 0; j < n; ++j) {
        const val = te[i * n + j];
        const ti = _Math.abs(val);
        if (ti > max) {
          max = ti;
          rowCol.row = j;
          rowCol.column = i;
          rowCol.value = val;
        }
      }
    }
    return rowCol;
  }
docs: Finds the largest absolute valued element in a matrix.
  @memberof Helpers
  @param {Matrix2|Matrix3|Matrix4} M The matrix.