next up previous
Next: FAQ Up: FUSE & Optimal extraction Previous: Some examples of the

The implementation of the optimal extraction

Here is how the algorithm is implemented in the code:

displaymath346

displaymath348

displaymath350

displaymath352

displaymath354

displaymath356

There are two things which are worth being mentioned:

First, tex2html_wrap_inline254 is given background subtracted, so it is unnecessary to subtract the background again.

Second, in some certain circumstances, tex2html_wrap_inline266 can be be negative. In that case tex2html_wrap_inline362 could be equal to 0, and that's pretty bad. To avoid such problem, the idea is to make sure tex2html_wrap_inline266 is positive, or to put a condition like: if tex2html_wrap_inline366 then tex2html_wrap_inline368 .

The errors square tex2html_wrap_inline370 are calculated the same way, except that the weight are squared before being applied:

displaymath372



Sylvestre Lacour
Mon Nov 5 22:07:31 EST 2001