diff --git a/doc/rrdgraph_rpn.html b/doc/rrdgraph_rpn.html
index a972313afc9ce6f654144cd929d415d9d6743b80..d5fccbbb015332149fb59920effe99d7c19f17f3 100644 (file)
--- a/doc/rrdgraph_rpn.html
+++ b/doc/rrdgraph_rpn.html
<dd>
<p>Example: <code>A,B,C,IF</code> should be read as <code>if (A) then (B) else (C)</code></p>
</dd>
+<dd>
+<p></p>
+</dd>
</li>
<dt><strong><a name="item_comparing_values">Comparing values</a></strong>
<p>Example: <code>CDEF:a=alpha,0,100,LIMIT</code> will return <em>unknown</em> if
alpha is lower than 0 or if it is higher than 100.</p>
</dd>
+<dd>
+<p></p>
+</dd>
</li>
<dt><strong><a name="item_arithmetics">Arithmetics</a></strong>
<p>Add, subtract, multiply, divide, modulo</p>
</dd>
<dd>
+<p><strong>ADDNAN</strong></p>
+</dd>
+<dd>
+<p>NAN-safe addition. If one parameter is NAN/UNKNOWN it'll be treated as
+zero. If both parameters are NAN/UNKNOWN, NAN/UNKNOWN will be returned.</p>
+</dd>
+<dd>
<p><strong>SIN, COS, LOG, EXP, SQRT</strong></p>
</dd>
<dd>
<p>Example: <code>CDEF:x=a,b,c,d,4,AVG</code></p>
</dd>
<dd>
-<p><strong>TREND</strong></p>
+<p><strong>TREND, TRENDNAN</strong></p>
</dd>
<dd>
<p>Create a ``sliding window'' average of another data series.</p>
Value at sample (t1) will be the average between (t1-delay) and (t1)
Value at sample (t2) will be the average between (t2-delay) and (t2)</pre>
</dd>
+<dd>
+<p>TRENDNAN is - in contrast to TREND - NAN-safe. If you use TREND and one
+source value is NAN the complete sliding window is affected. The TRENDNAN
+operation ignores all NAN-values in a sliding window and computes the
+average of the remaining values.</p>
+</dd>
</li>
<dt><strong><a name="item_special_values">Special values</a></strong>
<p>Duplicate the top element, remove the top element, exchange the two
top elements.</p>
</dd>
+<dd>
+<p></p>
+</dd>
</li>
</dl>
<p>
<p>Example: <code>VDEF:avg=mydata,AVERAGE</code></p>
</dd>
</li>
+<dt><strong><a name="item_stdev">STDEV</a></strong>
+
+<dd>
+<p>Returns the standard deviation of the values.</p>
+</dd>
+<dd>
+<p>Example: <code>VDEF:stdev=mydata,STDEV</code></p>
+</dd>
+</li>
<dt><strong><a name="item_last_2c_first">LAST, FIRST</a></strong>
<dd>