X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=doc%2Fctsim-concepts.tex;fp=doc%2Fctsim-concepts.tex;h=ff76a9e52768e5ee2c1f07d2b5bd2c4df1985f2d;hp=e76a77f6c54cf4f9221c6661bff3466cea0eb572;hb=8c02f79d3423db4a2d54e35cd4795629834357c9;hpb=82ea0c94394a5a175b260160760155a6686203a1 diff --git a/doc/ctsim-concepts.tex b/doc/ctsim-concepts.tex index e76a77f..ff76a9e 100644 --- a/doc/ctsim-concepts.tex +++ b/doc/ctsim-concepts.tex @@ -361,9 +361,12 @@ size of $m \times n$. In equation \ref{eequation} $[n/2]$ and $[m/2]$ denote the integers less than $n/2$ and $m/2$, respectively. \latexignore{These formulas are shown in the print documentation of \ctsim.} -\latexonly{\begin{equation}\label{dequation}d = \sqrt{\frac{\displaystyle \sum_{i=1}^{n}{\sum_{j=1}^{m}{(p_{i,j} - r_{i,j})^2}}} {\displaystyle \sum_{i=1}^{n}{\sum_{j=1}^{m}{(p_{i,j} - \bar{p})^2}}}}\end{equation}} -\latexonly{\begin{equation}\label{requation}r = \frac{\displaystyle \sum_{i=1}^{n}{\sum_{j=1}^{m}{|p_{i,j} - r_{i,j}|}}} {\displaystyle \sum_{i=1}^{n}{\sum_{j=1}^{m}{|p_{i,j}|}}}\end{equation}} +% +%Tex2RTF can not handle the any subscripts or superscripts for the inner summation unless +% have a space character before the \sum +\latexonly{\begin{equation}\label{dequation} d =\sqrt{\frac{\displaystyle \sum_{i=1}^{n}{ \sum_{j=1}^{m}{(p_{i,j} - r_{i,j})^2}}}{\displaystyle \sum_{i=1}^{n}{ \sum_{j=1}^{m}{(p_{i,j} - \bar{p})^2}}}}\end{equation}} +\latexonly{\[\label{requation}r = \frac{ \displaystyle \sum_{i=1}^{n}{ \sum_{j=1}^{m}{|p_{i,j} - r_{i,j}|}}}{ \displaystyle \sum_{i=1}^{n}{ \sum_{j=1}^{m}{|p_{i,j}|}}}\]} \latexonly{\begin{equation}\label{eequation}e = \max_{1 \le k \le [n/2] \atop 1 \le l \le [m/2]}(|P_{k,l} - R_{k,l}|)\end{equation}} \latexonly{where} -\latexonly{\begin{equation}\label{bigpequation}P_{k,l} = {\textstyle \frac{1}{4}} (p_{2k,2l} + p_{2k+1,2l} + p_{2k,2j+l} + p_{2k+1,2l+1})\end{equation}} +\latexonly{\[\label{bigpequation}P_{k,l} = \textstyle \frac{1}{4} (p_{2k,2l} + p_{2k+1,2l} + p_{2k,2l+l} + p_{2k+1,2l+1})\]} \latexonly{\begin{equation}\label{bigrequation}R_{k,l} = \textstyle \frac{1}{4} (r_{2k,2l} + r_{2k+1,2l} + r_{2k,2l+1} + r_{2k+1,2l+1})\end{equation}}