Dune::Gcd< a, b > Struct Template Reference
[Common (foundation classes)]

Calculator of the greatest common divisor. More...

#include <dune/common/gcd.hh>

List of all members.

Static Public Attributes

static const long value = GcdHelper<a,b,(a>b)>::gcd
 The greatest common divisior of a and b.

Detailed Description

template<long a, long b>
struct Dune::Gcd< a, b >

Calculator of the greatest common divisor.


Member Data Documentation

template<long a, long b>
const long Dune::Gcd< a, b >::value = GcdHelper<a,b,(a>b)>::gcd [static]

The greatest common divisior of a and b.


The documentation for this struct was generated from the following file:

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].