From 92190a1cafc3a8613e1200cd4ed81dbc509a93bd Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 7 Jan 2014 20:23:35 +0100 Subject: Add an example showing how to use C++11 random distributions --- Eigen/src/Core/Random.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Eigen/src/Core/Random.h') diff --git a/Eigen/src/Core/Random.h b/Eigen/src/Core/Random.h index a4492ddb6..fdd43ed0c 100644 --- a/Eigen/src/Core/Random.h +++ b/Eigen/src/Core/Random.h @@ -48,6 +48,8 @@ struct functor_traits > * a temporary matrix whenever it is nested in a larger expression. This prevents unexpected * behavior with expressions involving random matrices. * + * See DenseBase::NullaryExpr(Index, const CustomNullaryOp&) for an example using C++11 random generators. + * * \sa DenseBase::setRandom(), DenseBase::Random(Index), DenseBase::Random() */ template -- cgit v1.2.3