Eigen::internal::random_impl< bool > Struct Reference

#include <RandomImpl.h>

Static Public Member Functions

static EIGEN_DEVICE_FUNC bool run (const bool &x, const bool &y)
 
static EIGEN_DEVICE_FUNC bool run ()
 

Member Function Documentation

◆ run() [1/2]

static EIGEN_DEVICE_FUNC bool Eigen::internal::random_impl< bool >::run ( )
inlinestatic
233 { return getRandomBits<unsigned>(1) ? true : false; }

◆ run() [2/2]

static EIGEN_DEVICE_FUNC bool Eigen::internal::random_impl< bool >::run ( const bool x,
const bool y 
)
inlinestatic
229  {
230  if (y <= x) return x;
231  return run();
232  }
const Scalar & y
Definition: RandomImpl.h:36
list x
Definition: plotDoE.py:28
static EIGEN_DEVICE_FUNC bool run()
Definition: RandomImpl.h:233

References Eigen::run(), plotDoE::x, and Eigen::internal::y.


The documentation for this struct was generated from the following file: