idllib

Personal IDL library for M. Galloy

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

analysis/

mg_gcd.pro


top source mg_gcd

result = mg_gcd(a, b)

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

Return value

integer

Parameters

a in required type=integer

first integer

b in required type=integer

second integer

File attributes

Modification date: Wed Sep 14 10:39:53 2011
Lines: 35
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.