PiMath API
    Preparing search index...

    Function determinantFromVectors

    • Computes the determinant of the n×n matrix formed by treating each vector as a row, using the Bareiss algorithm (exact rational arithmetic, O(n³)).

      Parameters

      Returns Fraction

      if no vectors are given, if dimensions are inconsistent, or if the number of vectors does not equal their dimension