Extract a vector from the vector and update the index
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(out), | dimension(:) | :: | vals | ||
real(kind=wp), | intent(in), | dimension(:) | :: | x | ||
integer, | intent(inout) | :: | i |
should be initialized to 0 before the first call |
Extract the value from the vector and update the index
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(out) | :: | val | |||
real(kind=wp), | intent(in), | dimension(:) | :: | x | ||
integer, | intent(inout) | :: | i |
should be initialized to 0 before the first call |