>  Docs Center  >  Libraries  >  Beaumont  >  UNION
Libraries

UNION

UNION

Purpose


  This function returns the union of two vectors. The union is the
  set of numbers present in either vector.

Category


  Utilities

Calling Sequence


  result = union(vec1, vec2)

Inputs


  vec1: A 1D vector of integers
  vec2: A 1D vector of integers

Outputs


  A 1D vector of the integers present in either vec1 or vec2

Modification History


  July 2009: Written by Chris Beaumont



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