Function matrixSetSubMatrix

  • Set in-place a subMatrix to matrix, the function check if the subMatrix lies into the dimensions of matrix.

    Parameters

    • matrix: DoubleMatrix

      matrix that will receive the new element values.

    • subMatrix: DoubleMatrix

      matrix with equal or less size than matrix.

    • startRow: number

      row index in matrix for the first row in subMatrix.

    • startColumn: number

      column index in matrix for the first column in subMatrix.

    Returns DoubleMatrix

    The modified matrix.