Clicky

Fortran Wiki
merge (Rev #1, changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #0 to #1: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

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..

Standard

Fortran 95 and later

Class

Elemental function

Syntax

result = merge(tsource, fsource, mask)

Arguments

  • tsource - May be of any type.
  • fsource - Shall be of the same type and type parameters as tsource.
  • mask - Shall be of type logical.

Return value

The result is of the same type and type parameters as tsource.

category: Intrinsics

Revision from April 26, 2009 19:17:45 by Jason Blevins
Forward in time (to current) | See current | History | Rollback | View: Source | Linked from: Intrinsic procedures

AltStyle によって変換されたページ (->オリジナル) /