8 std::default_random_engine generator;
9 std::poisson_distribution<int> distribution(4.1);
10 auto poisson = [&] () {
return distribution(generator);};
12 RowVectorXi
v = RowVectorXi::NullaryExpr(10, poisson );
13 std::cout << v <<
"\n";
Namespace containing all symbols from the Eigen library.
Array< int, Dynamic, 1 > v