This type comprises the necessary variables to represent matrices using a CSR structure.
More...
|
integer | ncol |
|
integer, dimension(:), pointer | fin => null() |
|
integer, dimension(:), pointer | col => null() |
|
integer, dimension(:), pointer | mid => null() |
|
This type comprises the necessary variables to represent matrices using a CSR structure.
- Parameters
-
ncol | Number of columns |
fin | is the row index |
col | is the column index |
mid | is to access the diagonal elements (barely used...) |
Taken from wikipedia. For the following watrix:
10 20 0 0 0 0
0 30 0 40 0 0
0 0 50 60 70 0
0 0 0 0 0 80
You would access it using CSR as:
V = [ 10 20 30 40 50 60 70 80 ]
COL = [ 0 1 1 3 2 3 4 5 ]
FIN = [ 0 2 4 7 8 ]
◆ col
integer, dimension(:), pointer multi_data_types::multi_sparsity::col => null() |
◆ fin
integer, dimension(:), pointer multi_data_types::multi_sparsity::fin => null() |
◆ mid
integer, dimension(:), pointer multi_data_types::multi_sparsity::mid => null() |
◆ ncol
integer multi_data_types::multi_sparsity::ncol |
The documentation for this type was generated from the following file: