Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
divkbaseb.hh File Reference
Include dependency graph for divkbaseb.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 vcsn
 
 vcsn::dyn
 FIXME: duplicate code with determinize.
 
 vcsn::dyn::detail
 

Functions

template<typename Context >
mutable_automaton< Context > vcsn::divkbaseb (const Context &ctx, unsigned divisor, unsigned base)
 Build the Boolean automaton which accepts a word n representing a number in base "base" if and only if divisor|n. More...
 
template<typename Ctx , typename Unsigned1 , typename Unsigned2 >
automaton vcsn::dyn::detail::divkbaseb (const context &ctx, unsigned divisor, unsigned base)
 Bridge. More...
 
 vcsn::dyn::detail::REGISTER_DECLARE (divkbaseb,(const context &ctx, unsigned k, unsigned b) -> automaton)