17 #include "SQLamarr/GenerativePlugin.h"
18 #include "SQLamarr/GlobalPRNG.h"
25 void GenerativePlugin::eval_parametrization (
float* output,
const float* input)
27 std::vector<float> rnd(m_n_random);
29 std::normal_distribution<float> gaussian;
32 r = gaussian(*generator);
34 m_func(output, input, rnd.data());
SQLite3DB & m_database
Reference to the SQLite database (not owned).
static PRNG * get_or_create(const sqlite3_context *db, uint64_t seed=no_seed)
Return a pointer to an initialized generator.