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

    Function Mslice

    • Extracts a submatrix from a matrix (similar to NumPy slicing)

      Parameters

      • M: Matrix

        The source matrix

      • minrow: number

        The starting row index (inclusive)

      • maxrow: number

        The ending row index (exclusive)

      • mincol: number

        The starting column index (inclusive)

      • maxcol: number

        The ending column index (exclusive)

      Returns Matrix

      A new matrix containing M[minrow:maxrow, mincol:maxcol]