EigenRand  0.3.0
Eigen::Rand::CauchyGen< _Scalar > Class Template Reference

Generator of reals on a Cauchy distribution. More...

#include <NormalExp.h>

Inheritance diagram for Eigen::Rand::CauchyGen< _Scalar >:
Collaboration diagram for Eigen::Rand::CauchyGen< _Scalar >:

Public Types

using Scalar = _Scalar
 

Public Member Functions

 CauchyGen (_Scalar _a=0, _Scalar _b=1)
 Construct a new Cauchy generator. More...
 
 CauchyGen (const CauchyGen &)=default
 
 CauchyGen (CauchyGen &&)=default
 
template<typename Rng >
EIGEN_STRONG_INLINE const _Scalar operator() (Rng &&rng)
 
template<typename Packet , typename Rng >
EIGEN_STRONG_INLINE const Packet packetOp (Rng &&rng)
 
- Public Member Functions inherited from Eigen::Rand::GenBase< CauchyGen< _Scalar >, _Scalar >
const CwiseNullaryOp< internal::scalar_rng_adaptor< CauchyGen< _Scalar > &, _Scalar, Urng >, const Derived > generate (Index rows, Index cols, Urng &&urng)
 generate random values from its distribution More...
 
const CwiseNullaryOp< internal::scalar_rng_adaptor< CauchyGen< _Scalar > &, _Scalar, Urng >, const Derived > generateLike (const Derived &o, Urng &&urng)
 generate random values from its distribution More...
 

Detailed Description

template<typename _Scalar>
class Eigen::Rand::CauchyGen< _Scalar >

Generator of reals on a Cauchy distribution.

Template Parameters
_Scalar

Constructor & Destructor Documentation

◆ CauchyGen()

template<typename _Scalar >
Eigen::Rand::CauchyGen< _Scalar >::CauchyGen ( _Scalar  _a = 0,
_Scalar  _b = 1 
)
inline

Construct a new Cauchy generator.

Parameters
_alocation parameter of the distribution
_bscale parameter of the distribution

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