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>
172template<
typename Derived>
191template<
typename Derived>
195 return setRandom(rows(), cols);
209template<
typename Derived>
213 return setRandom(rows, cols());
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:986
#define EIGEN_STRONG_INLINE
Definition: Macros.h:927
#define EIGEN_EMPTY_STRUCT_CTOR(X)
Definition: XprHelper.h:22
Generic expression of a matrix where all coefficients are defined by a functor.
Definition: CwiseNullaryOp.h:61
EIGEN_DEVICE_FUNC Derived & setRandom()
Sets all coefficients in this expression to random values.
Definition: Random.h:131
static const RandomReturnType Random()
Definition: Random.h:113
Derived & setRandom(Index size)
Resizes to the given newSize, and sets all coefficients in this expression to random values.
Definition: Random.h:151
EIGEN_CONSTEXPR Index size(const T &x)
Definition: Meta.h:479
Namespace containing all symbols from the Eigen library.
Definition: MatrixExponential.h:16
NoChange_t
Definition: Constants.h:360
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
Definition: Eigen_Colamd.h:50
Holds information about the various numeric (i.e.
Definition: NumTraits.h:233
Definition: XprHelper.h:176
@ PacketAccess
Definition: XprHelper.h:180
@ Cost
Definition: XprHelper.h:179
@ IsRepeatable
Definition: XprHelper.h:181