Fuse p, q into one contiguous index
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | pq |
contiguous 1d-array index |
||
| integer(kind=int32), | intent(in) | :: | n_dim |
number of rows |
||
| integer(kind=int32), | intent(out) | :: | p |
2d-array indices |
||
| integer(kind=int32), | intent(out) | :: | q |
2d-array indices |
||
| logical, | intent(in) | :: | fortran |
Use column major order |
Fuse p, q into one contiguous index
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | pq |
contiguous 1d-array index |
||
| integer(kind=int64), | intent(in) | :: | n_dim |
number of rows |
||
| integer(kind=int64), | intent(out) | :: | p |
2d-array indices |
||
| integer(kind=int64), | intent(out) | :: | q |
2d-array indices |
||
| logical, | intent(in) | :: | fortran |
Use column major order |