Go to the source code of this file.
◆ main()
Definition at line 5 of file random_cpp11.cpp.
6 std::default_random_engine generator;
7 std::poisson_distribution<int> distribution(4.1);
8 auto poisson = [&] () {
return distribution(generator);};
11 std::cout <<
v <<
"\n";
Array< int, Dynamic, 1 > v
static const CwiseNullaryOp< CustomNullaryOp, PlainObject > NullaryExpr(Index rows, Index cols, const CustomNullaryOp &func)
The matrix class, also used for vectors and row-vectors.