Loads a 2D array from a text file (Specification)
Loads a 2D array from a text file.
Filename to load the array from
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
The array 'd' will be automatically allocated with the correct dimensions |
||
real(kind=sp), | intent(out), | allocatable | :: | d(:,:) |
Skip the first |
|
integer, | intent(in), | optional | :: | skiprows |
Read |
|
integer, | intent(in), | optional | :: | max_rows | ||
character(len=*), | intent(in), | optional | :: | fmt |
Loads a 2D array from a text file.
Filename to load the array from
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
The array 'd' will be automatically allocated with the correct dimensions |
||
real(kind=dp), | intent(out), | allocatable | :: | d(:,:) |
Skip the first |
|
integer, | intent(in), | optional | :: | skiprows |
Read |
|
integer, | intent(in), | optional | :: | max_rows | ||
character(len=*), | intent(in), | optional | :: | fmt |
Loads a 2D array from a text file.
Filename to load the array from
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
The array 'd' will be automatically allocated with the correct dimensions |
||
integer(kind=int8), | intent(out), | allocatable | :: | d(:,:) |
Skip the first |
|
integer, | intent(in), | optional | :: | skiprows |
Read |
|
integer, | intent(in), | optional | :: | max_rows | ||
character(len=*), | intent(in), | optional | :: | fmt |
Loads a 2D array from a text file.
Filename to load the array from
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
The array 'd' will be automatically allocated with the correct dimensions |
||
integer(kind=int16), | intent(out), | allocatable | :: | d(:,:) |
Skip the first |
|
integer, | intent(in), | optional | :: | skiprows |
Read |
|
integer, | intent(in), | optional | :: | max_rows | ||
character(len=*), | intent(in), | optional | :: | fmt |
Loads a 2D array from a text file.
Filename to load the array from
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
The array 'd' will be automatically allocated with the correct dimensions |
||
integer(kind=int32), | intent(out), | allocatable | :: | d(:,:) |
Skip the first |
|
integer, | intent(in), | optional | :: | skiprows |
Read |
|
integer, | intent(in), | optional | :: | max_rows | ||
character(len=*), | intent(in), | optional | :: | fmt |
Loads a 2D array from a text file.
Filename to load the array from
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
The array 'd' will be automatically allocated with the correct dimensions |
||
integer(kind=int64), | intent(out), | allocatable | :: | d(:,:) |
Skip the first |
|
integer, | intent(in), | optional | :: | skiprows |
Read |
|
integer, | intent(in), | optional | :: | max_rows | ||
character(len=*), | intent(in), | optional | :: | fmt |
Loads a 2D array from a text file.
Filename to load the array from
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
The array 'd' will be automatically allocated with the correct dimensions |
||
complex(kind=sp), | intent(out), | allocatable | :: | d(:,:) |
Skip the first |
|
integer, | intent(in), | optional | :: | skiprows |
Read |
|
integer, | intent(in), | optional | :: | max_rows | ||
character(len=*), | intent(in), | optional | :: | fmt |
Loads a 2D array from a text file.
Filename to load the array from
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
The array 'd' will be automatically allocated with the correct dimensions |
||
complex(kind=dp), | intent(out), | allocatable | :: | d(:,:) |
Skip the first |
|
integer, | intent(in), | optional | :: | skiprows |
Read |
|
integer, | intent(in), | optional | :: | max_rows | ||
character(len=*), | intent(in), | optional | :: | fmt |