Personal IDL library for M. Galloy

Directory: analysis/

Routines for handling various types of basic analysis: mathematical functions, expression evaluation, simple number theory algorithms, random numbers, sorting, etc.

.pro files

Inverse hyperbolic cosine.

Computes the arc length of a path.

Inverse hyperbolic sine.

Inverse hyperbolic tangent.

Calculate a mathematical combination.

Determines whether two values are equal, or within a given tolerance.

Evaluates a mathematical expression using the basic arithmetic operators +, -, *, /, and ^ along with parentheses for grouping and simple function calls of a single variable.

Returns the prime factorization of a given integer value n.

Finds a 1-dimensional pattern in an array.

Find the greatest common denominator (GCD) for two positive integers.

Compute the gradient of an array.

Find the histogram of a set of n-dimensional points.

Find the least common multiple (LCM) for two positive integers.

Create a function which maps in_range to out_range with a linear function and returns the coefficients.

Computes the local moments for an array with a given window size.

Finds the n smallest elements of a data array.

Calculate a mathematical permutation.

Pure IDL implementation of the RADON routine.

Convenience function to compute the minimum and maximm value of an array.

Repeats a vector nreps times.

Rounds value to integer value (or to nearest float value).

Get nIndices random indices for an array of size nValues (without repeating an index).

Return the sign of the values of an array: -1 for negative values, 0 for 0 values, 1 for positive values.

An alternative to IDL's SORT function that employs a radix-sort algorithm.

Truncate argument towards 0.0, i.e., takes the FLOOR of positive values and the CEIL of negative values.

Pull random data from


.dlm files

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