17template<
typename Scalar>
struct scalar_random_op {
18 EIGEN_EMPTY_STRUCT_CTOR(scalar_random_op)
19 inline const Scalar operator() ()
const {
return random<Scalar>(); }
22template<
typename Scalar>
23struct functor_traits<scalar_random_op<Scalar> >
24{
enum { Cost = 5 * NumTraits<Scalar>::MulCost, PacketAccess =
false, IsRepeatable =
false }; };
54template<
typename Derived>
55inline const typename DenseBase<Derived>::RandomReturnType
85template<
typename Derived>
86inline const typename DenseBase<Derived>::RandomReturnType
111template<
typename Derived>
112inline const typename DenseBase<Derived>::RandomReturnType
130template<
typename Derived>
149template<
typename Derived>
150EIGEN_STRONG_INLINE Derived&
172template<
typename Derived>
173EIGEN_STRONG_INLINE Derived&
191template<
typename Derived>
192EIGEN_STRONG_INLINE Derived&
209template<
typename Derived>
210EIGEN_STRONG_INLINE Derived&
@ ColsAtCompileTime
Definition DenseBase.h:106
@ RowsAtCompileTime
Definition DenseBase.h:100
static const CwiseNullaryOp< CustomNullaryOp, PlainObject > NullaryExpr(Index rows, Index cols, const CustomNullaryOp &func)
Definition CwiseNullaryOp.h:114
Derived & setRandom()
Definition Random.h:131
static const RandomReturnType Random()
Definition Random.h:113
static const RandomReturnType Random(Index rows, Index cols)
Definition Random.h:56
EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Definition EigenBase.h:63
EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Definition EigenBase.h:60
EIGEN_CONSTEXPR Index size() const EIGEN_NOEXCEPT
Definition EigenBase.h:67
Derived & setRandom(Index size)
Definition Random.h:151
void resize(Index rows, Index cols)
Definition PlainObjectBase.h:271
Namespace containing all symbols from the Eigen library.
Definition Core:141
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74