You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
965 B

25 years ago
  1. \magnification=\magstep3
  2. \hsize=19truecm
  3. \vsize=19truecm
  4. \nopagenumbers
  5. \parindent=0mm
  6. \font\eins=cmb10 scaled \magstep 3
  7. \font\zwei=cmr12
  8. \font\mini=cmr7
  9. \def\frac#1#2{{{#1} \over {#2}}}
  10. \hbox{}
  11. \vfill
  12. \centerline{\eins Binary Splitting}
  13. \bigskip\bigskip
  14. Recursive algorithm:
  15. \medskip
  16. \centerline{$\displaystyle S_{[n_1,n_2)} = {\sum\limits_{n=n_1}^{n_2-1} \frac{a(n)}{b(n)} \, \frac{p(n_1) \cdots p(n)}{q(n_1) \cdots q(n)}}$}
  17. \medskip
  18. Compute $P = {p(n_1) \cdots p(n_2-1)}$, $Q = {q(n_1) \cdots q(n_2-1)}$,
  19. \vskip 0cm
  20. $B = {b(n_1) \cdots b(n_2-1)}$ and $T$ with
  21. \medskip
  22. \centerline{$\displaystyle S_{[n_1,n_2)} = \frac{T}{B \cdot Q}$}
  23. \bigskip
  24. \quad $n_2 - n_1 < 4$ \quad $\rightarrow$ directly
  25. \medskip
  26. \quad $n_2 - n_1 \geq 4$ \quad $\rightarrow$ split
  27. \medskip
  28. \centerline{$P = P_L \cdot P_R$}
  29. \centerline{$Q = Q_L \cdot Q_R$}
  30. \centerline{$B = B_L \cdot B_R$}
  31. \centerline{$T = B_R \cdot Q_R \cdot T_L + B_L \cdot P_L \cdot T_R$}
  32. \vfill
  33. \hbox{}
  34. \eject
  35. \end