Today Simon Mullis wrote:

> Hello all,
>
> Am I right in thinking there is no easy way to do a square root in RPN?
>
> I want to calculate a Standard Deviation of a set of values. Anyone done
> this already?
>
> I want to use RPN because I'd like to superimpose the value of the Std Dev
> on the graph of the normal values.
>
> Or should I just use Perl and RRDs::fetch ?
> Thanks

SM,

look at the code for rrd_graph.c adding new functions to RPN is
pretty straight forward ... compare with the SIN function for
example

tobi
-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker   +41(0)1-632-5286

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to