SPH
Public Member Functions | List of all members
RngWrapper< TRng > Class Template Reference

#include <Rng.h>

Inheritance diagram for RngWrapper< TRng >:
IRng Polymorphic

Public Member Functions

template<typename... TArgs>
 RngWrapper (TArgs &&... args)
 
virtual Float operator() (const int s) override
 Generates a random number. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

template<typename TRng>
class RngWrapper< TRng >

Definition at line 97 of file Rng.h.

Constructor & Destructor Documentation

◆ RngWrapper()

template<typename TRng >
template<typename... TArgs>
RngWrapper< TRng >::RngWrapper ( TArgs &&...  args)
inlineexplicit

Definition at line 103 of file Rng.h.

Member Function Documentation

◆ operator()()

template<typename TRng >
virtual Float RngWrapper< TRng >::operator() ( const int  s)
inlineoverridevirtual

Generates a random number.

Implements IRng.

Definition at line 106 of file Rng.h.


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