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
- mg_complement.pro
Returns the complement of an index array.
- mg_makerange.pro
Create an array ranging from the startValue and stopping before the stopValue.
- mg_setdifference.pro
Find the difference of two sets of indices.
- mg_setintersection.pro
Find the intersection of two sets of indices.
- mg_setunion.pro
Find the union of two sets of indices.
Contents
Contact me if you have enhancement requests or bug fixes.