All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Utils.cpp File Reference

Go to the source code of this file.

Functions

void buildNumericFrequencies (int slices, int stat, std::map< std::string, std::vector< std::pair< double, te::da::ObjectId * > > > valuestoSummarize, std::vector< double > &intervals, std::map< double, std::vector< te::da::ObjectId * > > &intervalToOIds, std::vector< unsigned int > &frequencies, double &minValue, double &interval)
 
void buildStringFrequencies (int stat, std::map< std::string, std::vector< std::pair< std::string, te::da::ObjectId * > > > valuestoSummarize, std::map< std::string, std::vector< te::da::ObjectId * > > &intervalToOIds, std::vector< unsigned int > &frequencies)
 
void buildSummarizedScatter (int stat, std::map< std::string, std::vector< te::da::ObjectId * > > oidsToSummarize, std::map< std::string, std::vector< std::pair< double, double > > > valuesToSummarize, te::qt::widgets::Scatter *scatter)
 
float errFunction (float x)
 
float gammln (float xx)
 
float gammp (float a, float x)
 
void gcf (float *gammcf, float a, float x, float *gln)
 
double getDouble (const std::string &value, std::vector< std::string > &sVector)
 
double getDouble (te::dt::DateTime *dateTime)
 
double getDouble (te::da::DataSet *dataset, int propId)
 
te::da::ObjectIdgetObjectId (te::da::DataSet *dataset, std::vector< std::size_t > pkeys)
 
void getObjectIds (te::da::DataSet *dataset, std::vector< std::size_t > pkeys, std::vector< te::da::ObjectId * > &valuesOIDs)
 
std::string getStatisticalValue (int stat, te::stat::StringStatisticalSummary &sss)
 
double getStatisticalValue (int stat, te::stat::NumericStatisticalSummary &nss)
 
void gser (float *gamser, float a, float x, float *gln)
 

Function Documentation

void buildNumericFrequencies ( int  slices,
int  stat,
std::map< std::string, std::vector< std::pair< double, te::da::ObjectId * > > >  valuestoSummarize,
std::vector< double > &  intervals,
std::map< double, std::vector< te::da::ObjectId * > > &  intervalToOIds,
std::vector< unsigned int > &  frequencies,
double &  minValue,
double &  interval 
)
void buildStringFrequencies ( int  stat,
std::map< std::string, std::vector< std::pair< std::string, te::da::ObjectId * > > >  valuestoSummarize,
std::map< std::string, std::vector< te::da::ObjectId * > > &  intervalToOIds,
std::vector< unsigned int > &  frequencies 
)
void buildSummarizedScatter ( int  stat,
std::map< std::string, std::vector< te::da::ObjectId * > >  oidsToSummarize,
std::map< std::string, std::vector< std::pair< double, double > > >  valuesToSummarize,
te::qt::widgets::Scatter scatter 
)
float errFunction ( float  x)

Definition at line 174 of file Utils.cpp.

References gammp().

Referenced by te::qt::widgets::createNormalDistribution().

float gammln ( float  xx)

Definition at line 64 of file Utils.cpp.

Referenced by gcf(), and gser().

float gammp ( float  a,
float  x 
)

Definition at line 158 of file Utils.cpp.

References gcf(), and gser().

Referenced by errFunction().

void gcf ( float *  gammcf,
float  a,
float  x,
float *  gln 
)

Definition at line 122 of file Utils.cpp.

References gammln().

Referenced by gammp().

double getDouble ( te::dt::DateTime dateTime)
te::da::ObjectId* getObjectId ( te::da::DataSet dataset,
std::vector< std::size_t >  pkeys 
)
void getObjectIds ( te::da::DataSet dataset,
std::vector< std::size_t >  pkeys,
std::vector< te::da::ObjectId * > &  valuesOIDs 
)

Definition at line 595 of file Utils.cpp.

References getObjectId().

void gser ( float *  gamser,
float  a,
float  x,
float *  gln 
)

Definition at line 84 of file Utils.cpp.

References gammln().

Referenced by gammp().