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