algebramix_doc 0.3
/Users/mourrain/Devel/mmx/algebramix/include/algebramix/polynomial_rational.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : polynomial_rational.hpp
00004 * DESCRIPTION: Multiply polynomials over rational numbers
00005 * COPYRIGHT  : (C) 2009  Gregoire Lecerf
00006 *******************************************************************************
00007 * This software falls under the GNU general public license and comes WITHOUT
00008 * ANY WARRANTY WHATSOEVER. See the file $TEXMACS_PATH/LICENSE for more details.
00009 * If you don't have this file, write to the Free Software Foundation, Inc.,
00010 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00011 ******************************************************************************/
00012 
00013 #ifndef __MMX_POLYNOMIAL_RATIONAL_HPP
00014 #define __MMX_POLYNOMIAL_RATIONAL_HPP
00015 #include <numerix/rational.hpp>
00016 #include <algebramix/polynomial_integer.hpp>
00017 #include <algebramix/polynomial_quotient.hpp>
00018 
00019 namespace mmx {
00020 
00021 DEFINE_VARIANT (polynomial_rational,
00022                 polynomial_quotient<
00023                   polynomial_dicho<
00024                     polynomial_naive> >)
00025 
00026 STMPL
00027 struct polynomial_variant_helper<rational> {
00028   typedef polynomial_rational PV;
00029 };
00030 
00031 }
00032 #endif // __MMX_POLYNOMIAL_RATIONAL_HPP
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines