EigenRand  0.5.0
 
Loading...
Searching...
No Matches
Eigen::Rand::StudentTGen< _Scalar > Class Template Reference

Generator of reals on a Student's t distribution. More...

#include <NormalExp.h>

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

Public Types

using Scalar = _Scalar
 

Public Member Functions

 StudentTGen (_Scalar _n=1)
 Construct a new Student's t generator. More...
 
 StudentTGen (const StudentTGen &)=default
 
 StudentTGen (StudentTGen &&)=default
 
StudentTGenoperator= (const StudentTGen &)=default
 
StudentTGenoperator= (StudentTGen &&)=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< StudentTGen< _Scalar >, _Scalar >
const CwiseNullaryOp< internal::scalar_rng_adaptor< StudentTGen< _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< StudentTGen< _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::StudentTGen< _Scalar >

Generator of reals on a Student's t distribution.

Template Parameters
_Scalar

Constructor & Destructor Documentation

◆ StudentTGen()

template<typename _Scalar >
Eigen::Rand::StudentTGen< _Scalar >::StudentTGen ( _Scalar  _n = 1)
inline

Construct a new Student's t generator.

Parameters
_ndegrees of freedom

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