Clicky
Showing changes from revision #1 to #2:
(追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)
Select values from two arrays according to a logical mask. The result is equal to tsource
if mask
is .true.
, or equal to fsource
if it is .false.
.
(削除) Fortran 95 and later (削除ここまで)(追記) Fortran 95 (追記ここまで)(追記) and later (追記ここまで)
(削除) Elemental function (削除ここまで)(追記) Elemental function (追記ここまで)
result = merge(tsource, fsource, mask)
tsource
- May be of any type.fsource
- Shall be of the same type and type parameters as tsource
.mask
- Shall be of type logical
.The result is of the same type and type parameters as tsource
.