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>
172 template<
typename Derived>
191 template<
typename Derived>
209 template<
typename Derived>
218 #endif // EIGEN_RANDOM_H Generic expression of a matrix where all coefficients are defined by a functor.
#define EIGEN_STRONG_INLINE
#define EIGEN_EMPTY_STRUCT_CTOR(X)
Namespace containing all symbols from the Eigen library.
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
static const RandomReturnType Random()
EIGEN_DEVICE_FUNC Derived & setRandom()
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
EIGEN_CONSTEXPR Index size(const T &x)
#define EIGEN_DEVICE_FUNC
Derived & setRandom(Index size)