FACT++  1.0
void minMaxStruct::add ( long double  val)
inline

Definition at line 48 of file fitsdump.cc.

49  {
50  average += val;
51  squared += val*val;
52 
53  if (val<min)
54  min = val;
55 
56  if (val>max)
57  max = val;
58 
59  numValues++;
60  }
long numValues
Definition: fitsdump.cc:45
long double average
Definition: fitsdump.cc:43
long double squared
Definition: fitsdump.cc:44
double min
Definition: fitsdump.cc:41
double max
Definition: fitsdump.cc:42