19 inline const Scalar operator() ()
const {
return random<Scalar>(); }
22template<
typename Scalar>
54template<
typename Derived>
85template<
typename Derived>
111template<
typename Derived>
130template<
typename Derived>
133 return *
this = Random(rows(), cols());
149template<
typename Derived>
150EIGEN_STRONG_INLINE Derived&
172template<
typename Derived>
173EIGEN_STRONG_INLINE Derived&
191template<
typename Derived>
192EIGEN_STRONG_INLINE Derived&
195 return setRandom(rows(), cols);
209template<
typename Derived>
210EIGEN_STRONG_INLINE Derived&
213 return setRandom(rows, cols());
Generic expression of a matrix where all coefficients are defined by a functor.
Definition CwiseNullaryOp.h:61
EIGEN_DEVICE_FUNC Derived & setRandom()
Definition Random.h:131
static const RandomReturnType Random()
Definition Random.h:113
Derived & setRandom(Index size)
Definition Random.h:151
Namespace containing all symbols from the Eigen library.
Definition common.h:81
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
Definition NumTraits.h:233
Definition XprHelper.h:176