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