rStats.js v1.3.0
    Preparing search index...

    Function rcond

    • Estimate of the reciprocal condition number of a matrix. Equivalent to R's rcond().

      Uses LAPACK's estimators (dgecon on the LU decomposition, or dtrcon for triangular matrices). For a non-square matrix, the estimate is computed on the triangular factor R of its QR decomposition (of the transpose if the matrix is wide). Returns 0 for an exactly singular matrix.

      Parameters

      Returns number

      The estimated reciprocal condition number, between 0 and 1.

      rcond([[1, 2], [3, 4]]); // 0.04761904761904762