#include <numeric_utils.h>
Abstract base class for random number generators 
Definition at line 55 of file numeric_utils.h.
 
  
  
      
        
          | numeric_utils::RandomGenerator::RandomGenerator  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
default   | 
  
 
 
  
  
      
        
          | virtual numeric_utils::RandomGenerator::~RandomGenerator  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | numeric_utils::RandomGenerator::RandomGenerator  | 
          ( | 
          const RandomGenerator &  | 
           | ) | 
           | 
         
       
   | 
  
delete   | 
  
 
 
  
  
      
        
          | virtual bool numeric_utils::RandomGenerator::generate  | 
          ( | 
          Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > &  | 
          random_numbers,  | 
         
        
           | 
           | 
          const Eigen::VectorXd &  | 
          means,  | 
         
        
           | 
           | 
          const Eigen::MatrixXd &  | 
          cov,  | 
         
        
           | 
           | 
          unsigned int  | 
          cases = 1  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
Get multivariate random realization 
- Parameters
 - 
  
    | [in,out] | random_numbers | Matrix to store generated random numbers to  | 
    | [in] | means | Vector of mean values for random variables  | 
    | [in] | cov | Covariance matrix of for random variables  | 
    | [in] | cases | Number of cases to generate  | 
  
   
- Returns
 - Returns true if no issues were encountered in Cholesky decomposition of covariance matrix, returns false otherwise 
 
Implemented in numeric_utils::NormalMultiVar.
 
 
  
  
      
        
          | virtual std::string numeric_utils::RandomGenerator::name  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
Delete assignment operator 
 
 
  
  
      
        
          | int numeric_utils::RandomGenerator::seed_ | 
         
       
   | 
  
protected   | 
  
 
Initial value:= static_cast<int>(
      std::time(nullptr))
Seed value to use in random number generator 
Definition at line 98 of file numeric_utils.h.
 
 
The documentation for this class was generated from the following file: