15 void random_f(
const int & nn,
double * xx) {
16 static std::mt19937 generator(7);
17 static std::normal_distribution<double> distribution(0.0, 1.0);
19 for (
int jj = 0; jj < nn; ++jj) xx[jj] = distribution(generator);
void random_f(const int &nn, double *xx)
The namespace for the qg model.