Sponsored Content
Top Forums UNIX for Advanced & Expert Users GPRS Tunnelling Protocol implementation under UNIX Post 302190650 by 3gtelcotools on Wednesday 30th of April 2008 06:42:52 AM
Old 04-30-2008
Bug open-cgf release 0.1

FYI, if anyone is interest, I've created release 0.1 of open-cgf.

You can download open-cgf v0.1 from here.

All comments are welcome. I kinda need some users.
 

9 More Discussions You Might Find Interesting

1. IP Networking

UNIX and SNA protocol

Can anyone tell me how I can find out if a server has a SNA connection to a mainframe ? I need to find out at my work which servers use SNA by telnetting to that server and search for it, I just don't know what and where to look for... Any help appreciated ! Ron (2 Replies)
Discussion started by: ronw
2 Replies

2. UNIX for Dummies Questions & Answers

Unix terminal protocol

I need to accomodate terminals running off an NCR UNIX SCO server. I need the protocol so I can get the correct S/W image for the router. (3 Replies)
Discussion started by: de2934
3 Replies

3. UNIX for Advanced & Expert Users

http protocol from UNIX

Is there any way to access http page from UNIX command line.... eg: http://www.abc.xyz (5 Replies)
Discussion started by: bishweshwar
5 Replies

4. UNIX for Advanced & Expert Users

implementation of pim and mospf protocole in unix

hello is there any implementation of msopf and pim protocoles in unix? :confused: (1 Reply)
Discussion started by: jalil smail
1 Replies

5. SCO

How to stop A UDP protocol on Unix

Dear All, Kindly guide how to stop UDP protocol on Sco Unix release 5.0 Regards (2 Replies)
Discussion started by: sak900354
2 Replies

6. UNIX for Dummies Questions & Answers

Hash Table like implementation in unix

Hi all, I just downloaded this example from the net. I was looking around for a hash table like implementation in unix when I came across this. ARRAY=( "cow:moo" "dinosaur:roar" "bird:chirp" "bash:rock" ) for animal in ${ARRAY} ; do KEY=${animal%%:*} ... (8 Replies)
Discussion started by: anindyabecs
8 Replies

7. UNIX for Dummies Questions & Answers

Finding implementation code in UNIX for FAT16/32

So we know that Unix is free source software. And we know that Unix have support for FAT 16 and FAT 32. Does anyone know where can I found that implementation in code ? Thank you. (2 Replies)
Discussion started by: medolina
2 Replies

8. Shell Programming and Scripting

UNIX time command implementation

I want to know about the time command flow of execution. I have a doubt in the time calculation for the command execution. Whether the real time is sum of (time taken to open the unix window + execute the command given infront of the "time" command + close the unix window) or Just the time... (1 Reply)
Discussion started by: sateesh Solapur
1 Replies

9. Shell Programming and Scripting

What kind of transfer protocol we have in UNIX?

I was asked this question on the interview. I know ftp, sftp, scp, rcp. They said one more indi or indy Could you please let me know it? Thanks, Oleg (2 Replies)
Discussion started by: digioleg54
2 Replies
Statistics::OnLine(3pm) 				User Contributed Perl Documentation				   Statistics::OnLine(3pm)

NAME
Statistics::OnLine - Pure Perl implementation of the on-line algorithm to produce statistics SYNOPSIS
use Statistics::OnLine; my $s = Statistics::OnLine->new; my @data = (1, 2, 3, 4, 5); $s->add_data( @data ); $s->add_data( 6, 7 ); $s->add_data( 8 ); print "count = ",$s->count," mean = ",$s->mean," variance = ",$s->variance," variance_n = ", $s->variance_n," skewness = ",$s->skewness," kurtosis = ",$s->kurtosis," "; $s->add_data( ); # does nothing! print "count = ",$s->count," mean = ",$s->mean," variance = ",$s->variance," variance_n = ", $s->variance_n," skewness = ",$s->skewness," kurtosis = ",$s->kurtosis," "; $s->add_data( 9, 10 ); print "count = ",$s->count," mean = ",$s->mean," variance = ",$s->variance," variance_n = ", $s->variance_n," skewness = ",$s->skewness," kurtosis = ",$s->kurtosis," "; DESCRIPTION
This module implements a tool to perform statistic operations on large datasets which, typically, could not fit the memory of the machine, e.g. a stream of data from the network. Once instantiated, an object of the class provide an "add_data" method to add data to the dataset. When the computation of some statistics is required, at some point of the stream, the appropriate method can be called. After the execution of the statistics it is possible to continue to add new data. In turn, the object will continue to update the existing data to provide new statistics. METHODS
new() Creates a new "Statistics::OnLine" object and returns it. add_data(@) Adds new data to the object and updates the internal state of the statistics. The method return the object itself in order to use it in chaining: my $v = $s->add_data( 1, 2, 3, 4 )->variance; clean() Cleans the internal state of the object and resets all the internal statistics. Return the object itself in order to use it in chaining: my $v = $s->clean->add_data( 1, 2, 3, 4 )->variance; count() Returns the actual number or elements inserted and processed by the object. mean() Returns the average of the elements inserted into the system: fract{ sum_1^n{x_i} }{ n } variance() Returns the variance of the element inserted into the system: fract{ sum_1^n{avg - x_i} }{ n - 1 } variance_n() Returns the variance of the element inserted into the system: fract{ sum_1^n{avg - x_i} }{ n } skewness() Returns the skewness (third standardized moment) of the element inserted into the system <http://en.wikipedia.org/wiki/Skewness> kurtosis() Returns the kurtosis (fourth standardized moment) of the element inserted into the system <http://en.wikipedia.org/wiki/Kurtosis> ERROR MESSAGES
The conditions in which the system can return errors, using a "die" are: too few elements to compute function Some functions need a minimum number of elements to be computed: "mean", "variance_n" and "skewness" need at least one element, "variance" at least two and "kurtosis" needs at least four. variance is zero: cannot compute kurtosis|skewness Both kurtosis and skewness need that variance to be greater than zero. THEORY
On-line statistics are based on strong mathematical foundations which transform the standard computations into a sequence of operations that incrementally update with new values the actual ones. There are some referencence in the web. This documentation suggest to start your investigation from <http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Higher-order_statistics>. The linked page provides other useful references on the foundations of the method. CAVEAT
The module is intended to be used in all the situations in which:(1) the number of data elements could be too large with respect the memory of the system, or(2) the elements arrive at different time stamps and intermediate results are needed. If the length of the stream is fixed, all the data elements are present in a single place and there is not need for intermediate results, it could be better to use different modules, for instance Statistics::Lite, to make computations. The reason for this choice is that the module uses a stable approximation, well suited for the use on steams (effectively an on-line algorithm). Using this system on fixed datasets could introduce some (little) approximation. HISTORY
0.02 Corrected typos in documentation 0.01 Initial version of the module AUTHOR
Francesco Nidito COPYRIGHT
Copyright 2009 Francesco Nidito. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Statistics::Lite, <http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Higher-order_statistics> perl v5.10.1 2009-09-04 Statistics::OnLine(3pm)
All times are GMT -4. The time now is 09:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy