Construct an empty sparse, distributed, matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(inout) | :: | this |
The matrix to be constructed. |
||
integer, | intent(in) | :: | matrix_dim |
The dimension of the full matrix. |
||
type(ProcessGrid_t), | intent(in), | optional, | TARGET | :: | process_grid_in |
A process grid to host the matrix. |
logical, | intent(in), | optional | :: | is_complex_in |
True if you want to use complex numbers. |
Construct an empty sparse, distributed, matrix using another matrix to determine the parameters. Note that no data is copied, the matrix will be empty.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(inout) | :: | this |
The matrix to be constructed. |
||
type(Matrix_ps), | intent(in) | :: | reference_matrix |
The reference matrix to take parameters from. |