This is stats.h in view mode; [Download] [Up]
#ifndef STATSH
#define STATSH
#include <iostream.h>
class stats {
public:
stats(){ n=0; sum=0; sum2=0; max_abs=0; }
void operator+=( double x );
friend ostream& operator<<(ostream&, const stats& );
double sum, sum2, max_abs;
int n;
};
#endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.