A helper routine to insert a value into a sparse vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(inout) | :: | values_per |
Values per row. |
||
| integer, | intent(inout), | DIMENSION(:) | :: | indices |
Indices associated with each value. |
|
| real(kind=NTREAL), | intent(inout), | DIMENSION(:) | :: | values |
Values. |
|
| integer, | intent(in) | :: | insert_row |
Row to insert into. |
||
| real(kind=NTREAL), | intent(in) | :: | insert_value |
Value to insert. |