mglib

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

Routines

top 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: Wed May 14 15:07:14 2014
Lines: 36
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.