10 #ifndef EIGEN_RANDOM_H 11 #define EIGEN_RANDOM_H 19 template<
typename Index>
20 inline const Scalar operator() (Index, Index = 0)
const {
return random<Scalar>(); }
23 template<
typename Scalar>
47 template<
typename Derived>
74 template<
typename Derived>
95 template<
typename Derived>
109 template<
typename Derived>
112 return *
this = Random(rows(), cols());
124 template<
typename Derived>
125 EIGEN_STRONG_INLINE Derived&
142 template<
typename Derived>
143 EIGEN_STRONG_INLINE Derived&
146 resize(nbRows, nbCols);
152 #endif // EIGEN_RANDOM_H Generic expression of a matrix where all coefficients are defined by a functor.
Definition: CwiseNullaryOp.h:49
internal::traits< Derived >::Index Index
The type of indices.
Definition: DenseBase.h:60
Derived & setRandom()
Sets all coefficients in this expression to random values.
Definition: Random.h:110
iterative scaling algorithm to equilibrate rows and column norms in matrices
Definition: TestIMU_Common.h:87
Holds information about the various numeric (i.e.
Definition: NumTraits.h:88
detail::size< coerce_list< Ts... >> size
Get the size of a list (number of elements.)
Definition: Size.h:56
static const CwiseNullaryOp< internal::scalar_random_op< Scalar >, Derived > Random()
Definition: Random.h:97
Definition: BandTriangularSolver.h:13
Definition: XprHelper.h:89
Derived & setRandom(Index size)
Resizes to the given newSize, and sets all coefficients in this expression to random values...
Definition: Random.h:126