ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::math::rand_generator_base< ValueT > Class Template Referenceabstract

The basic interface for pseudo-random number generators. More...

#include <random.hpp>

Public Member Functions

virtual ~rand_generator_base ()
 
virtual ValueT operator() ()=0
 The basic random number generator interface (virtual abstract) More...
 

Detailed Description

template<typename ValueT = double>
class viennashe::math::rand_generator_base< ValueT >

The basic interface for pseudo-random number generators.

Definition at line 39 of file random.hpp.

Constructor & Destructor Documentation

◆ ~rand_generator_base()

template<typename ValueT = double>
virtual viennashe::math::rand_generator_base< ValueT >::~rand_generator_base ( )
inlinevirtual

Definition at line 42 of file random.hpp.

Member Function Documentation

◆ operator()()

template<typename ValueT = double>
virtual ValueT viennashe::math::rand_generator_base< ValueT >::operator() ( )
pure virtual

The basic random number generator interface (virtual abstract)

Returns
A pseudo-randum number between 0 and 1.0 (either 0 or 1 can be excluded!)

Implemented in viennashe::math::std_rand_generator< ValueT >.


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