XeValues Class Reference
extension to map<double,int>
More...
#include <XeStat.h>
List of all members.
Public Member Functions |
| void | add (double value) |
| | adds one value
|
| void | add (double *values, int n) |
| | adds an array of values
|
| double | findSigma (double sigma) |
| | Return x value above or below a certain number of standard deviations.
|
|
int | getNEntries () |
| | Return number of original entries.
|
|
int | getNValues () |
| | Return number of different values.
|
|
double | largestGap () |
| | Return largest gap between the values.
|
| bool | printIt (int level=1) |
| | print the object
|
| double | quantile (double f) |
| | Return quantile of the distrubtion.
|
|
void | reset () |
| | XeValues (string name, DataSet *dataSet, int col) |
| | Constructor from a dataSet.
|
| | XeValues (string name, vector< double > &vd) |
| | Constructor from a vector.
|
| | XeValues (string name, double *d, int n) |
| | Constructor from an array.
|
| | XeValues (string name) |
| | basic constructor
|
Protected Attributes |
|
int | nEntries |
Detailed Description
extension to map<double,int>
Constructor & Destructor Documentation
| XeValues::XeValues |
( |
string |
name |
) |
|
basic constructor
- Parameters:
-
| XeValues::XeValues |
( |
string |
name, |
|
|
double * |
d, |
|
|
int |
n | |
|
) |
| | |
Constructor from an array.
- Parameters:
-
| name | name of the XeObject |
| d | array of values n number of entries |
| XeValues::XeValues |
( |
string |
name, |
|
|
vector< double > & |
vd | |
|
) |
| | |
Constructor from a vector.
- Parameters:
-
| name | name of the XeObject |
| vd | vector of values |
| XeValues::XeValues |
( |
string |
name, |
|
|
DataSet * |
dataSet, |
|
|
int |
col | |
|
) |
| | |
Constructor from a dataSet.
- Parameters:
-
| name | name of the XeObject |
| dataSet | the data set considered |
| col | which column` |
Member Function Documentation
| void XeValues::add |
( |
double |
value |
) |
|
adds one value
- Parameters:
-
| void XeValues::add |
( |
double * |
values, |
|
|
int |
n | |
|
) |
| | |
adds an array of values
- Parameters:
-
| values | address of the array |
| n | number of points |
| double XeValues::findSigma |
( |
double |
sigma |
) |
|
Return x value above or below a certain number of standard deviations.
- Parameters:
-
| sigma | how many sigmas above/below (e.g. +1 ->.68) |
| bool XeValues::printIt |
( |
int |
level = 1 |
) |
[virtual] |
print the object
- Parameters:
-
| level | print level (0-> no print) |
Reimplemented from XeObject.
| double XeValues::quantile |
( |
double |
f |
) |
|
Return quantile of the distrubtion.
- Returns:
- x value of the smallest values for a given fraction
- Parameters:
-
The documentation for this class was generated from the following file:
- /home/lellouch/Dropbox/Xenon/Xephyr/XeStat.h