00001 00002 /****************************************************************************** 00003 * MODULE : series_modular_integer.hpp 00004 * DESCRIPTION: Multiplication of modular integer series 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_SERIES_MODULAR_INTEGER_HPP 00014 #define __MMX_SERIES_MODULAR_INTEGER_HPP 00015 #include <algebramix/polynomial_modular_integer.hpp> 00016 #include <algebramix/series.hpp> 00017 #include <algebramix/series_relaxed.hpp> 00018 00019 namespace mmx { 00020 00021 DEFINE_VARIANT (series_modular_integer, series_relaxed<series_naive>) 00022 00023 template<typename V, typename W> 00024 struct series_variant_helper<modular<modulus<integer,V>,W> > { 00025 typedef series_modular_integer SV; 00026 }; 00027 00028 } // namespace mmx 00029 #endif // __MMX_SERIES_MODULAR_INTEGER_HPP