diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-01-07 20:23:35 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-01-07 20:23:35 +0100 |
commit | 92190a1cafc3a8613e1200cd4ed81dbc509a93bd (patch) | |
tree | 43084ae6898fa9bd36e5d71363cc8dcdf8ca0a6c /Eigen/src/Core/CwiseNullaryOp.h | |
parent | ac409f51f185a4654f9a5c38ab5d1652824836f6 (diff) |
Add an example showing how to use C++11 random distributions
Diffstat (limited to 'Eigen/src/Core/CwiseNullaryOp.h')
-rw-r--r-- | Eigen/src/Core/CwiseNullaryOp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Core/CwiseNullaryOp.h b/Eigen/src/Core/CwiseNullaryOp.h index 1d4ee50a8..124383114 100644 --- a/Eigen/src/Core/CwiseNullaryOp.h +++ b/Eigen/src/Core/CwiseNullaryOp.h @@ -138,6 +138,9 @@ DenseBase<Derived>::NullaryExpr(Index rows, Index cols, const CustomNullaryOp& f * * The template parameter \a CustomNullaryOp is the type of the functor. * + * Here is an example with C++11 random generators: \include random_cpp11.cpp + * Output: \verbinclude random_cpp11.out + * * \sa class CwiseNullaryOp */ template<typename Derived> |