Setting the first N
values of a real (kind=dp)
array A
to zero
Note
Maybe it can be replaced by calls susch as A(1:N)=0.0d0
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n |
Number of entries to set to zero |
||
real(kind=dp), | intent(inout), | dimension(*) | :: | a |
Array which entries will be set to zero |