Go to the documentation of this file.
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>
182 #endif // EIGEN_RANDOM_H
#define EIGEN_EMPTY_STRUCT_CTOR(X)
Derived & setRandom(Index size)
Generic expression of a matrix where all coefficients are defined by a functor.
#define EIGEN_STRONG_INLINE
EIGEN_DEVICE_FUNC Derived & setRandom()
static const RandomReturnType Random()
static constexpr size_t size(Tuple< Args... > &)
Provides access to the number of elements in a tuple as a compile-time constant expression.
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:06:08