>  Docs Center  >  Libraries  >  ASTROLIB  >  DB_OR
Libraries

DB_OR

DB_OR

Name


DB_OR

Purpose


Combine two vectors of entry numbers, removing duplicate values.

Explanation


DB_OR can also be used to remove duplicate values from any longword
vector

Calling Sequence


LIST = DB_OR( LIST1 ) ;Remove duplicate values from LIST1
or
LIST = DB_OR( LIST1, LIST2 ) ;Concatenate LIST1 and LIST2, remove dups

Inputs


LIST1, LIST2 - Vectors containing entry numbers, must be non-negative
integers or longwords.

Output


LIST - Vector containing entry numbers in either LIST1 or LIST2
 

Method


DB_OR returns where the histogram of the entry vectors is non-zero

Procedure Calls


ZPARCHECK - checks parameters

Revision History


Written, W. Landsman February, 1989
Check for degenerate values W.L. February, 1993
Converted to IDL V5.0 W. Landsman September 1997



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us