Personal IDL library for M. Galloy

Directory: indices/

This directory contains routines for handling array indices.

MG_COMPLEMENT, MG_SETUNION, MG_SETINTERSECTION, and MG_SETDIFFERENCE are set operations for non-negative integers with -1L representing the empty set. These are ideal for manipulating array indices.

MG_MAKERANGE is an easier way to create regularly spaced arrays by specifying start, stop, and increment values.

.pro files

Returns the complement of an index array.

Create an array ranging from the startValue and stopping before the stopValue.

Find the difference of two sets of indices.

Find the intersection of two sets of indices.

Find the union of two sets of indices.


Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.