Function matrixGetSubMatrix

  • Get a subMatrix from matrix, the function checks if the subMatrix lies within the dimensions of the matrix.

    Parameters

    • matrix: Float64Array[]

      The original matrix from which the subMatrix will be extracted.

    • options: MatrixGetSubMatrixOptions

      Options to define the subMatrix boundaries and duplication behavior.

    Returns Float64Array[]

    The subMatrix extracted from the original matrix.