Create block from array, array can be n-dimensional.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(block_nd), | intent(out) | :: | block | |||
| integer, | intent(in), | DIMENSION(:) | :: | sizes | ||
| real(kind=real_8), | intent(in), | DIMENSION(PRODUCT(sizes)) | :: | array |
Create block from array, array can be n-dimensional.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(block_nd), | intent(out) | :: | block | |||
| integer, | intent(in), | DIMENSION(:) | :: | sizes | ||
| real(kind=real_4), | intent(in), | DIMENSION(PRODUCT(sizes)) | :: | array |
Create block from array, array can be n-dimensional.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(block_nd), | intent(out) | :: | block | |||
| integer, | intent(in), | DIMENSION(:) | :: | sizes | ||
| complex(kind=real_8), | intent(in), | DIMENSION(PRODUCT(sizes)) | :: | array |
Create block from array, array can be n-dimensional.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(block_nd), | intent(out) | :: | block | |||
| integer, | intent(in), | DIMENSION(:) | :: | sizes | ||
| complex(kind=real_4), | intent(in), | DIMENSION(PRODUCT(sizes)) | :: | array |
Create block without data
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(block_nd), | intent(out) | :: | block | |||
| integer, | intent(in), | DIMENSION(:) | :: | sizes | ||
| integer, | intent(in) | :: | data_type |