EigenRand  0.5.0
 
Loading...
Searching...
No Matches
Eigen::Rand::MvMatGenBase< DerivedGen, _Scalar, Dim > Class Template Reference

Base class of all multivariate random matrix generators. More...

#include <Basic.h>

Public Member Functions

Index dims () const
 returns the dimensions of matrices to be generated
 
template<typename Urng >
Matrix< _Scalar, Dim, -1 > generate (Urng &&urng, Index samples)
 generates multiple samples at once More...
 
template<typename Urng >
Matrix< _Scalar, Dim, Dim > generate (Urng &&urng)
 generates one sample More...
 

Detailed Description

template<typename DerivedGen, typename _Scalar, Index Dim>
class Eigen::Rand::MvMatGenBase< DerivedGen, _Scalar, Dim >

Base class of all multivariate random matrix generators.

Template Parameters
DerivedGen
_Scalar
Dim

Member Function Documentation

◆ generate() [1/2]

template<typename DerivedGen , typename _Scalar , Index Dim>
template<typename Urng >
Matrix< _Scalar, Dim, Dim > Eigen::Rand::MvMatGenBase< DerivedGen, _Scalar, Dim >::generate ( Urng &&  urng)
inline

generates one sample

Template Parameters
Urng
Parameters
urngc++11-style random number generator
Returns
a random matrix with a shape (dim, dim)

◆ generate() [2/2]

template<typename DerivedGen , typename _Scalar , Index Dim>
template<typename Urng >
Matrix< _Scalar, Dim, -1 > Eigen::Rand::MvMatGenBase< DerivedGen, _Scalar, Dim >::generate ( Urng &&  urng,
Index  samples 
)
inline

generates multiple samples at once

Template Parameters
Urng
Parameters
urngc++11-style random number generator
samplesthe number of samples to be generated
Returns
a random matrix with a shape (dim, dim * samples) which is samples random matrices concatenated along the column axis

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