Copy an arbitrary slice from a matrix into a new smaller matrix. NTPoly only works with square matrices, so if the number of rows and columns is different the matrix is resized to the maximum size.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | this |
The distributed sparse matrix. |
||
type(Matrix_ps), | intent(inout) | :: | submatrix |
The slice to fill. |
||
integer, | intent(in) | :: | start_row |
The starting row to include in this matrix. |
||
integer, | intent(in) | :: | end_row |
The ending row to include in this matrix. |
||
integer, | intent(in) | :: | start_column |
The starting column to include in this matrix. |
||
integer, | intent(in) | :: | end_column |
The last column to include in this matrix. |