Vaucanson
1.4.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
vaucanson
algorithms
krat_exp_constant_term.hh
Go to the documentation of this file.
1
// krat_exp_constant_term.hh: this file is part of the Vaucanson project.
2
//
3
// Vaucanson, a generic library for finite state machines.
4
//
5
// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2008 The Vaucanson Group.
6
//
7
// This program is free software; you can redistribute it and/or
8
// modify it under the terms of the GNU General Public License
9
// as published by the Free Software Foundation; either version 2
10
// of the License, or (at your option) any later version.
11
//
12
// The complete GNU General Public Licence Notice can be found as the
13
// `COPYING' file in the root directory.
14
//
15
// The Vaucanson Group consists of people listed in the `AUTHORS' file.
16
//
17
#ifndef VCSN_ALGORITHMS_KRAT_EXP_CONSTANT_TERM_HH
18
# define VCSN_ALGORITHMS_KRAT_EXP_CONSTANT_TERM_HH
19
30
// INTERFACE: std::pair<Exp::semiring_elt_t, bool> constant_term(const Exp& e) { return vcsn::constant_term(e); }
31
32
# include <vaucanson/design_pattern/design_pattern.hh>
33
# include <utility>
34
35
namespace
vcsn {
36
39
40
template
<
class
Series,
class
T>
41
std::pair<typename Element<Series, T>::semiring_elt_t,
bool
>
42
constant_term(
const
Element<Series, T>& exp);
43
46
}
// vcsn
47
48
# if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
49
# include <vaucanson/algorithms/krat_exp_constant_term.hxx>
50
# endif // VCSN_USE_INTERFACE_ONLY
51
52
#endif // ! VCSN_ALGORITHMS_KRAT_EXP_CONSTANT_TERM_HH
Generated on Sat Jul 14 2012 18:46:40 for Vaucanson by
1.8.1.1