Skylark (Sketching Library)  0.1
Public Types | Public Member Functions
skylark::utility::rademacher_distribution_t< ValueType > Struct Template Reference

#include <distributions.hpp>

List of all members.

Public Types

typedef ValueType result_type

Public Member Functions

template<typename URNG >
ValueType operator() (URNG &prng) const
void reset ()

Detailed Description

template<typename ValueType>
struct skylark::utility::rademacher_distribution_t< ValueType >

Radamachar distribution - +1 and -1 with equal probability.

Definition at line 41 of file distributions.hpp.


Member Typedef Documentation

template<typename ValueType>
typedef ValueType skylark::utility::rademacher_distribution_t< ValueType >::result_type

Definition at line 43 of file distributions.hpp.


Member Function Documentation

template<typename ValueType>
template<typename URNG >
ValueType skylark::utility::rademacher_distribution_t< ValueType >::operator() ( URNG &  prng) const [inline]

Definition at line 46 of file distributions.hpp.

template<typename ValueType>
void skylark::utility::rademacher_distribution_t< ValueType >::reset ( ) [inline]

Definition at line 51 of file distributions.hpp.


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