>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  INTERSECT

INTERSECT

INTERSECT

Name


      INTERSECT

Purpose


      Return the elements common to two given arrays.

Category


Calling Sequence


      z = intersect(x,y)

Inputs


      x, y = arrays (not necessarily same size). in

Keyword Parameters


Outputs


      z = array of elements in common. out

Common Blocks


Notes


      Note: if z is a scalar 0 then no elements were
        in common.

Modification History


      R. Sterner 19 Mar, 1986.
      R. Sterner, 4 Mar, 1991 --- converted to IDL v2.
  Copyright (C) 1986, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



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