00001 00002 /****************************************************************************** 00003 * MODULE : series_complex.hpp 00004 * DESCRIPTION: Multiplication of complex 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_COMPLEX_HPP 00014 #define __MMX_SERIES_COMPLEX_HPP 00015 #include <algebramix/polynomial_complex.hpp> 00016 #include <algebramix/series.hpp> 00017 #include <algebramix/series_relaxed.hpp> 00018 00019 namespace mmx { 00020 00021 DEFINE_VARIANT (series_complex, series_relaxed<series_naive>) 00022 00023 template<typename C> 00024 struct series_variant_helper<complex<C> > { 00025 typedef series_complex SV; 00026 }; 00027 00028 STMPL 00029 struct series_variant_helper<complex<generic> > { 00030 typedef series_naive SV; 00031 }; 00032 00033 00034 } // namespace mmx 00035 #endif // __MMX_SERIES_COMPLEX_HPP