- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# algebra.hh

    00001 // algebra.hh: this file is part of the Vaucanson project.
    00002 //
    00003 // Vaucanson, a generic library for finite state machines.
    00004 //
    00005 // Copyright (C) 2011 The Vaucanson Group.
    00006 //
    00007 // This program is free software; you can redistribute it and/or
    00008 // modify it under the terms of the GNU General Public License
    00009 // as published by the Free Software Foundation; either version 2
    00010 // of the License, or (at your option) any later version.
    00011 //
    00012 // The complete GNU General Public Licence Notice can be found as the
    00013 // `COPYING' file in the root directory.
    00014 //
    00015 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
    00016 //
    00017 #ifndef INCLUDE_VAUCANSON_MISC_ALGEBRA_HH
    00018 # define INCLUDE_VAUCANSON_MISC_ALGEBRA_HH
    00019
    00021
    00022
    00030
    00031 namespace vcsn {
    00032   namespace misc {
    00034
    00035
    00036
    00037
    00038
    00039
    00040   inline
    00041   unsigned long long gcd (unsigned long long a, unsigned long long b);
    00042
    00044   inline
    00045   unsigned long long lcm (unsigned long long a, unsigned long long b);
    00046
    00048   inline
    00049   bool is_coprime (unsigned long long a, unsigned long long b);
    00050
    00051   inline
    00052   unsigned long long abs (long long a);
    00053
    00056 } // !misc
    00058 } // !vcsn
    00059 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
    00060 #  include <vaucanson/misc/algebra.hxx>
    00061 # endif // VCSN_USE_INTERFACE_ONLY
    00062
    00063 #endif // !INCLUDE_VAUCANSON_MISC_ALGEBRA_HH