tomlankhorst/control
Public Member Functions | Protected Attributes | List of all members
control::ident::PRBS< T > Class Template Reference

#include <idsignal.h>

Public Member Functions

 PRBS ()
 
get ()
 

Protected Attributes

std::default_random_engine e
 
std::uniform_int_distribution< int > d
 

Detailed Description

template<typename T>
class control::ident::PRBS< T >

PRBS

Pseudo-Random-Binary-Signal

Generates a sequence of -1 and 1

Template Parameters
T

Constructor & Destructor Documentation

◆ PRBS()

template<typename T >
control::ident::PRBS< T >::PRBS ( )
inline

Initialize the PRBS

Member Function Documentation

◆ get()

template<typename T >
T control::ident::PRBS< T >::get ( )
inline

Get an integer, either -1 or 1

Returns
T number in {-1,1}

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