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.

Natural logarithm of a matrix.

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.

Exponential of a matrix.

Returns the prime factorization of a given integer value n.

Finds a 1-dimensional pattern in an array.

Create a 1-dimensional array from a multi-dimensional input.

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.

Returns whether an element in contained in an array.

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.

Finds the next power of 2.

Pure IDL implementation of the RADON routine.

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

Repeats a vector nreps times.

Create an ncolumns by nrows tiling of arr.

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.

Returns the upper or lower triangular elements of a 2-dimensional array.

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

Pull random data from

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