Chris Beaumont's IDL Library

Download source code

single page | use frames     summary     class     fields     routine details     file attributes

./

union.pro

topunion

Utilities

result = union(vec1, vec2)

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

Return value

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

Parameters

vec1 in required

A 1D vector of integers

vec2 in required

A 1D vector of integers

File attributes

Modifcation date: Mon Mar 22 16:17:13 2010
Lines: 57