45 static bool randomized =
false;
55 if (mode ==
"uniform")
57 else if (mode ==
"gaussian")
59 else if (mode ==
"student")
80 this->initValue = initial;
86 double value = initValue + step * counter++;
97 for (
size_t id: md.
ids())
103 void MDExpandGenerator::fillValue(
MetaData &md,
size_t objId) {
107 if (expMd.isColumnFormat() || expMd.isEmpty())
109 expMd.getRow(row, expMd.firstObject());
110 md.setRow(row, objId);
double rnd_student_t(double nu)
#define REPORT_ERROR(nerr, ErrormMsg)
static bool isInt(const MDLabel label)
MDConstGenerator(const String &value)
void fillValue(MetaData &md, size_t objId)
void fillValue(MetaData &md, size_t objId)
Incorrect argument received.
MDLinealGenerator(double initial, double step)
static bool isLong(const MDLabel label)
MDRandGenerator(double op1, double op2, const String &mode, double op3=0.)
String formatString(const char *format,...)
static String label2Str(const MDLabel &label)
unsigned int randomize_random_generator()
void fillValue(MetaData &md, size_t objId)
Incorrect value received.