>  Docs Center  >  Libraries  >  Beaumont  >  UNION

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



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us