@awatters_flatiron/tsvector - v1.0.1
    Preparing search index...

    Function MswapRows

    • Swaps two rows in a matrix

      Parameters

      • M: Matrix

        The matrix to modify

      • i: number

        The index of the first row

      • j: number

        The index of the second row

      • inplace: boolean = false

        If true, modifies M directly; if false, creates a copy (default: false)

      Returns Matrix

      The matrix with rows i and j swapped