Eneboo - Documentación para desarrolladores
|
#include <mutil.h>
Tipos públicos | |
enum | DateFormatType { MDY_SLASH = 0, MDY_DASH, MMDDY_SLASH, MMDDY_DASH, MDYYYY_SLASH, MDYYYY_DASH, MMDDYYYY_SLASH, MMDDYYYY_DASH, YYYYMD_SLASH, YYYYMD_DASH, DDMMYY_PERIOD, DDMMYYYY_PERIOD, DMY_SLASH, DMY_DASH, DDMMY_SLASH, DDMMY_DASH, DMYYYY_SLASH, DMYYYY_DASH, DDMMYYYY_SLASH, DDMMYYYY_DASH, DD, MM, Month, YYYY, YY, Y } |
Métodos públicos estáticos | |
static QString | formatDate (const QDate &value, int format) |
static int | count (QMemArray< double > *values) |
static double | sum (QMemArray< double > *values) |
static double | average (QMemArray< double > *values) |
static double | variance (QMemArray< double > *values) |
static double | stdDeviation (QMemArray< double > *values) |
Kugar utlity class
Formatting constants
double MUtil::average | ( | QMemArray< double > * | values | ) | [static] |
Returns the average value for an array of doubles
Formats a date using one of the pre-defined formats
double MUtil::stdDeviation | ( | QMemArray< double > * | values | ) | [static] |
Returns the standard deviation for an array of doubles
double MUtil::sum | ( | QMemArray< double > * | values | ) | [static] |
Returns the sum for an array of doubles
double MUtil::variance | ( | QMemArray< double > * | values | ) | [static] |
Returns the variance for an array of doubles