idllib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

analysis/

mg_gradient.pro

includes main-level program

top source mg_gradient

result = mg_gradient(arr [, dx] [, dy])

Compute the gradient of an array.

Return value

gradient array, 1- or 2-dimensional to match the dimensions of arr

Parameters

arr in required type=2D or 3D array

array to find gradient of

dx in optional type=float default=1.0

increment along x-axis

dy in optional type=float default=1.0

increment along y-axis

File attributes

Modification date: Tue Sep 13 16:38:05 2011
Lines: 71
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.