Construct a matrix
Create a new -by- matrix by passing the number of rows and the number of columns
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n | The number of rows in |
||
| integer, | intent(in) | :: | k | The number of cols in |
Create a new -by- matrix by passing the number of rows and the number of columns
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n | The number of rows in |
||
| integer, | intent(in) | :: | k | The number of cols in |
||
| integer, | intent(in) | :: | val |
Create a new -by- matrix by passing the number of rows and the number of columns
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n | The number of rows in |
||
| integer, | intent(in) | :: | k | The number of cols in |
||
| real(kind=real32), | intent(in) | :: | val |
Create a new -by- matrix by passing the number of rows and the number of columns
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n | The number of rows in |
||
| integer, | intent(in) | :: | k | The number of cols in |
||
| real(kind=real64), | intent(in) | :: | val |
Create a new -by- matrix by passing a rank2 integer array
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | dimension(:,:) | :: | array |
Create a new -by- matrix by passing a rank2 integer array
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | array |
Create a new -by- matrix by passing a rank2 integer array
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in), | dimension(:,:) | :: | array |
Construct a -by- given a rank1 array of ints
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | dimension(:) | :: | array | ||
| integer, | intent(in) | :: | n | |||
| integer, | intent(in) | :: | k |
Construct a -by- given a rank1 array of ints
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in), | dimension(:) | :: | array | ||
| integer, | intent(in) | :: | n | |||
| integer, | intent(in) | :: | k |
Construct a -by- given a rank1 array of ints
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in), | dimension(:) | :: | array | ||
| integer, | intent(in) | :: | n | |||
| integer, | intent(in) | :: | k |