Contains module procedures associated with the sparse row data class
Sparse row data Object initialization routine. If indices are supplied initializes values to 0.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(SparseRowData), | intent(in) | :: | mat1 | |||
class(SparseRowData), | intent(in) | :: | mat2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(RealArray), | intent(in), | dimension(:) | :: | mat1 | ||
class(SparseRowData), | intent(in) | :: | mat2 |
Sparse row data Object initialization routine. If indices are supplied initializes values to 0.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(SparseRowData), | intent(inout) | :: | this | |||
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | rowIndices |
Row indices of each sparse row vector |
type(IntArray), | intent(in), | optional, | dimension(:) | :: | colVectors |
Arrays of column indices for each row |
Add sparse row vector to data Object and initialize its values to 0, unless value vector is supplied
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(SparseRowData), | intent(inout) | :: | this | |||
integer(kind=ik), | intent(in) | :: | rowIndex |
Row index of added vector |
||
integer(kind=ik), | intent(in), | dimension(:) | :: | columnIndices |
Column indices of nonzeros in row |
|
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | values |
Values of nonzeros in row |