Code

fixes for better web rendering
[rrdtool.git] / doc / rrdgraph_rpn.pod
index 5000d7a1738915277d065318971440624dc65d4d..454f7367691a045fefa0ae1e1ce295d84eb5b299 100644 (file)
@@ -66,8 +66,6 @@ mean that any value other than 0 is considered to be true.
 
 Example: C<A,B,C,IF> should be read as C<if (A) then (B) else (C)>
 
-Z<>
-
 =item Comparing values
 
 B<MIN, MAX>
@@ -91,8 +89,6 @@ will always return an I<unknown>
 Example: C<CDEF:a=alpha,0,100,LIMIT> will return I<unknown> if
 alpha is lower than 0 or if it is higher than 100.
 
-Z<>
-
 =item Arithmetics
 
 B<+, -, *, /, %>
@@ -127,6 +123,10 @@ B<DEG2RAD, RAD2DEG>
 
 Convert angle in degrees to radians, or radians to degrees.
 
+B<ABS>
+
+Take the absolute value.
+
 =item Set Operations
 
 B<SORT, REV>
@@ -139,6 +139,13 @@ Example: C<CDEF:x=v1,v2,v3,v4,v5,v6,6,SORT,POP,5,REV,POP,+,+,+,4,/> will
 compute the average of the values v1 to v6 after removing the smallest and
 largest.
 
+B<AVG>
+
+Pop one element (I<count>) from the stack. Now pop I<count> elements and build the
+average, ignoring all UNKNOWN values in the process.
+
+Example: C<CDEF:x=a,b,c,d,4,AVG>
+
 B<TREND>
 
 Create a "sliding window" average of another data series.
@@ -223,8 +230,6 @@ B<DUP, POP, EXC>
 Duplicate the top element, remove the top element, exchange the two
 top elements.
 
-Z<>
-
 =back
 
 =head1 VARIABLES