Main Page   Compound List   File List   Compound Members   File Members   Examples  

gcd.h File Reference

Euclidian algorithm. More...

Go to the source code of this file.

Functions

template<class item_class> item_class gcd (const item_class &a, const item_class &b)


Detailed Description

Euclidian algorithm.

This module consists of function which implements Euclidian algorithm for greatest common divisor producing.


Function Documentation

template<class item_class>
item_class gcd const item_class & a,
const item_class & b
 

Euclidian algorithm produces the greatest common divisor of two integer u and v.


Generated at Fri Oct 19 20:00:24 2001 for Arageli by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001