10 #ifndef EIGEN_RANDOM_H
11 #define EIGEN_RANDOM_H
19 inline const Scalar operator() ()
const {
return random<Scalar>(); }
22 template<
typename Scalar>
54 template<
typename Derived>
85 template<
typename Derived>
111 template<
typename Derived>
130 template<
typename Derived>
133 return *
this = Random(rows(), cols());
149 template<
typename Derived>
150 EIGEN_STRONG_INLINE Derived&
172 template<
typename Derived>
173 EIGEN_STRONG_INLINE Derived&
182 #endif // EIGEN_RANDOM_H
Namespace containing all symbols from the Eigen library.
Definition: LDLT.h:16
Derived & setRandom(Index size)
Definition: Random.h:151
Quaternion structure, including operators when compiling in C++.
Generic expression of a matrix where all coefficients are defined by a functor.
Definition: CwiseNullaryOp.h:61
static const RandomReturnType Random()
Definition: Random.h:113
Definition: XprHelper.h:172
EIGEN_DEVICE_FUNC Derived & setRandom()
Definition: Random.h:131
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
Definition: NumTraits.h:213
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:42