From 0f0f3e13155ce0a172b0325568594615b632eb61 Mon Sep 17 00:00:00 2001 From: Kahina Date: Tue, 27 Oct 2015 09:57:18 +0100 Subject: [PATCH] Ajout de la figure Spare and full polynomial with or no Log.exp --- figures/sparse_full_explog.pdf | Bin 0 -> 8424 bytes figures/sparse_full_explog.plot | 21 ++++++++++++ figures/sparse_full_explog.txt | 59 ++++++++++++++++++++++++++++++++ paper.tex | 14 ++++---- 4 files changed, 87 insertions(+), 7 deletions(-) create mode 100644 figures/sparse_full_explog.pdf create mode 100644 figures/sparse_full_explog.plot create mode 100644 figures/sparse_full_explog.txt diff --git a/figures/sparse_full_explog.pdf b/figures/sparse_full_explog.pdf new file mode 100644 index 0000000000000000000000000000000000000000..7100f34a697742e4821ca5dbf7c1c527e472237b GIT binary patch literal 8424 zcmb_ic|4Tu*KZ}$LW?}4x?3zI?pchn?>yOsEXguv2E#1OV#}IDNuEd|ktj=9Qj#Sq zQIbg6vn6EDl6`sa8C1`&=Y8MbAJ5FkXRiBP=X}q(&NsK~N{)sCa^+B8<+U5wK*KM_h(Q z<>kG3+gsbSzFLts^nF`s92q z^ObUw(4_Bw%ny7BA6qk1TGG}|_A3ymrrh9ese854x;O9YRGU$=UGoPwru(es-LauM zB?G@=*#)ciSe@v+YpEgBAVl3hM_&8!E4nK97pc1DK}|^t#ym0bqdQFrljZ2m$h!i} zs_cDP*3^9iLs)rCcul`oLT3G(eW>AUOzr*1B&(()lDN&1Qg3ZbGY8{(A8r)bW1o#R zb5oIiRm&?-2)~6JeN^K6J#7Rb?MY}o6g?83Su&Y_yWpTcs%KMScA!oGDG2}JKB+ls zC{)2R@d1`&j~gM_FyA+*{Jcej!Q7tu{gV-zQ5)JPod)~_{QsIi9ie^Up8)-n8S%O9t?)(mEGD+~77=(9?atKl=24=6v+AImv6aEM2f>xoHlQhVjaXAgOliJaPL ziZ`~Hjy^6B^Q}IhrGMj%qQ2ZnM3)$^aKft(*fO09fz4{yNdfqKQ6$@JoKyMkQHjZEBi@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7vzjm9aTSmLlWTc69Sr~lq*vU{pu%iq;*>u0HE zuBW?Nry(SzFhA-vc_k01ICLg306T&Mk)j|nQdlAa5b+8kW@tUQo{Jj6k$BvTMlkl$ zH^F&1<7Dt6N{TRfB`nn962v{QF5>p=UnuARR0}H{R5Q}mJji13ko6$DkfEjz@F0^Y zbXgAt5w?gdG-i=O5rECYa8?j8*E0kdR4U1t$N-QMG7<=J1nL-IPlF0}cPh;pKuAc5 zK#(-Ny{r+`?=AyEPYNQA42Fv=2)etwOSq#Xs5A!*B+tcN&- zehAXXHiT&YLySU~VA~{tqmn_QIf#&egR6>Gn+GD50c0^Eh4U9tD$N8+1Vsl5(}hH30Fn}t zfD4v^b0iVm2qXZxtd%Xg!YL23qVtP${zZ3TUG((+Z-}{q(Vk{3xMAo*EC1EKJ3L+ljc!E8aNn(g7iXK^ZJc+2dJYY+JKT)6& zj+F~k+A@$a!F3f;(HZMVq+tI8fX%=H_#p<3@hi76ke$E7tR@L7Q~o!wzXAM1s<27W zp#o(M_~Xb@gaQB3>)!+Vc}_#8zk-N6>lFU&d*GM0ef3lk{ij3a2z2Mb3J&B})>ai| z?Q#PgbofFyNbC)cfUbw&2sFe8ods+bby*ex0Y_rsGH6Mpj2Lt@!QmpSNK~5WYB>IL z&q6FFtjrRH2GGTU69LEg!OIFAL{?!k93h0|yg2gX!q0<7u!pX$5NH_dj9q>KQfM>^ z4cG%KG$cj}y0~J!0Lm&2gOP$R+Wt<1?1pYC|AU4`|0WBER{1+0>Nh^5H1c;o8661XjKhqI0mjJsSZcLQE*L7 ewBrBIVa2);rZccK20LgN84Lm@B&1=W3Hu)+thnI- literal 0 HcmV?d00001 diff --git a/figures/sparse_full_explog.plot b/figures/sparse_full_explog.plot new file mode 100644 index 0000000..72242e8 --- /dev/null +++ b/figures/sparse_full_explog.plot @@ -0,0 +1,21 @@ +# Analysis description +set encoding iso_8859_1 +set terminal x11 +set size 1,0.5 +set term postscript enhanced portrait "Helvetica" 12 + +set ylabel "execution times (in s)" +set xlabel "Sparse and full polynomial's degrees" +set logscale x +set logscale y + +#set key on outside left bmargin +set style line 1 lc rgb '#0060ad' lt 1 lw 2 pt 1 ps 1.5 # --- blue +set style line 2 lc rgb '#dd181f' lt 1 lw 2 pt 5 ps 1.5 # --- red + + plot'log_exp_Sparse.txt' index 0 using 1:4 t "Sparse polynomial No log.exp" with linespoints ls 2,\ + 'log_exp_Sparse.txt' index 0 using 1:2 t "Sparse polynomial with log.exp" with linespoints ls 1,\ + 'log_exp_Sparse.txt' index 1 using 1:2 t "Sparse polynomial with log.exp" with linespoints ls 1,\ +'log_exp.txt' index 0 using 1:4 t "Full polynomial No log.exp" with linespoints ls 2,\ + 'log_exp.txt' index 0 using 1:2 t "Full polynomial with log.exp" with linespoints ls 1,\ + 'log_exp.txt'index 1 using 1:2 t "Full polynomail withlog.exp" with linespoints ls 1 \ No newline at end of file diff --git a/figures/sparse_full_explog.txt b/figures/sparse_full_explog.txt new file mode 100644 index 0000000..065de24 --- /dev/null +++ b/figures/sparse_full_explog.txt @@ -0,0 +1,59 @@ +#sparse polynomial +# First data block (index 0) +#EA With_log_exp No_log_exp +#Taille_Poly times nb iter times nb iter +5000 0.289431 17 0.256983 15 +10000 0.319229 14 0.317802 14 +15000 0.317802 14 0.393191 13 +25000 0.759156 11 0.849403 11 +30000 1.26306 16 2.08251 20 +40000 2.57116 19 2.58756 18 +50000 4.17865 18 4.80419 20 +60000 4.43633 16 4.92617 17 +100000 11.7038 15 12.4761 16 +150000 18.6746 11 16.3098 16 + +# Second index block (index 1) +#Taille_Poly times nb iter +150000 18.6746 11 +200000 67.6199 22 +300000 132.27 20 +350000 159.65 18 +400000 258.91 22 +450000 339.47 23 +500000 419.78 23 +550000 415.94 19 +600000 549.70 21 +650000 612.12 20 +700000 864.21 24 +750000 940.87 23 +800000 1247.16 26 +850000 1702.12 32 +900000 1803.17 30 +950000 2280.07 34 +1000000 2400.51 30 + +#Full polynomial +# First data block (index 2) +#EA With_log_exp No_log_exp +#Taille_Poly times nb iter times nb iter +500 0.224633 16 0.23799 17 +1000 0.348493 24 0.36104 24 +1500 0.337472 21 0.339825 20 +2000 0.36503 21 0.389243 21 +2500 0.389436 22 0.438976 27 +3000 0.404811 20 0.403387 27 +3500 0.487981 21 0.490296 22 +4000 0.506183 23 0.550917 20 + +# Second index block (index 3) +#EA With_log_exp +#Taille_Poly times nb iter +4000 0.506183 23 +#4500 0.946749 23 +5000 0.769945 33 +6000 1.38447 48 +10000 2.15026 32 +100000 306.117 141 + + diff --git a/paper.tex b/paper.tex index c12aeda..1ba7a17 100644 --- a/paper.tex +++ b/paper.tex @@ -662,7 +662,7 @@ The figure 2 show that, the best execution time for both sparse and full polynom In this experiment we report the performance of log.exp solution describe in ~\ref{sec2} to compute very high degrees polynomials. \begin{figure}[H] \centering - \includegraphics[width=0.8\textwidth]{figures/log_exp} + \includegraphics[width=0.8\textwidth]{figures/sparse_full_explog} \caption{The impact of exp-log solution to compute very high degrees of polynomial.} \label{fig:01} \end{figure} @@ -672,12 +672,12 @@ The figure 3, show a comparison between the execution time of the Ehrlich-Aberth in fact, when the modulus of the roots are up than \textit{R} given in ~\ref{R},this exceed the limited number in the mantissa of floating points representations and can not compute the iterative function given in ~\ref{eq:Aberth-H-GS} to obtain the root solution, who justify the divergence of the classical Ehrlich-Aberth algorithm. However, applying log.exp solution given in ~\ref{sec2} took into account the limit of floating using the iterative function in(Eq.~\ref{Log_H1},Eq.~\ref{Log_H2}and allows to solve a very large polynomials degrees . -\begin{figure}[H] -\centering - \includegraphics[width=0.8\textwidth]{figures/log_exp_Sparse} -\caption{The impact of exp-log solution to compute very high degrees of polynomial.} -\label{fig:01} -\end{figure} +%\begin{figure}[H] +\%centering + %\includegraphics[width=0.8\textwidth]{figures/log_exp_Sparse} +%\caption{The impact of exp-log solution to compute very high degrees of polynomial.} +%\label{fig:01} +%\end{figure} %we report the performances of the exp.log for the Ehrlich-Aberth algorithm for solving very high degree of polynomial. -- 2.39.5