topinter
Calculation
Return value
tableau
Parameters
a
in
required
b
in
required
Examples
IDL> a = [2,4,6,8]
IDL> b = [6,1,3,2]
IDL> inter(a,b) = [ 2, 6] ; Common elements
Version history
Version
$Id: inter.pro 232 2007-03-20 16:59:36Z pinsard $
History
Known issues
Restrictions
The empty set is denoted by an array with the first element equal to
-1.
These functions will not be efficient on sparse sets with wide
ranges, as they trade memory for efficiency. The HISTOGRAM function
is used, which creates arrays of size equal to the range of the
resulting set.
Statistics
McCabe cyclic | 9 |
McCabe essential | 1 |
McCabe modular design | 1 |