Mantid
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Private Attributes | Friends | List of all members
Mantid::Kernel::normal_distribution< _RealType > Class Template Reference

#include <normal_distribution.h>

Classes

class  param_type
 

Public Types

using result_type = _RealType
 

Public Member Functions

INLINE_VISIBILITY result_type max () const
 
INLINE_VISIBILITY result_type mean () const
 
INLINE_VISIBILITY result_type min () const
 
INLINE_VISIBILITY normal_distribution (const param_type &__p)
 
INLINE_VISIBILITY normal_distribution (result_type __mean=0, result_type __stddev=1)
 
template<class _URNG >
INLINE_VISIBILITY result_type operator() (_URNG &__g)
 
template<class _URNG >
result_type operator() (_URNG &__g, const param_type &__p)
 
template<class _URNG >
_RealType operator() (_URNG &__g, const param_type &__p)
 
INLINE_VISIBILITY param_type param () const
 
INLINE_VISIBILITY void param (const param_type &__p)
 
INLINE_VISIBILITY void reset ()
 
INLINE_VISIBILITY result_type stddev () const
 

Private Attributes

param_type __p_
 
result_type _V_
 
bool _V_hot_
 

Friends

INLINE_VISIBILITY bool operator!= (const normal_distribution &__x, const normal_distribution &__y)
 
template<class _CharT , class _Traits , class _RT >
std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const normal_distribution< _RT > &__x)
 
INLINE_VISIBILITY bool operator== (const normal_distribution &__x, const normal_distribution &__y)
 
template<class _CharT , class _Traits , class _RT >
std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, normal_distribution< _RT > &__x)
 

Detailed Description

template<class _RealType = double>
class Mantid::Kernel::normal_distribution< _RealType >

Definition at line 61 of file normal_distribution.h.

Member Typedef Documentation

◆ result_type

template<class _RealType = double>
using Mantid::Kernel::normal_distribution< _RealType >::result_type = _RealType

Definition at line 64 of file normal_distribution.h.

Constructor & Destructor Documentation

◆ normal_distribution() [1/2]

template<class _RealType = double>
INLINE_VISIBILITY Mantid::Kernel::normal_distribution< _RealType >::normal_distribution ( result_type  __mean = 0,
result_type  __stddev = 1 
)
inlineexplicit

Definition at line 95 of file normal_distribution.h.

◆ normal_distribution() [2/2]

template<class _RealType = double>
INLINE_VISIBILITY Mantid::Kernel::normal_distribution< _RealType >::normal_distribution ( const param_type __p)
inlineexplicit

Definition at line 98 of file normal_distribution.h.

Member Function Documentation

◆ max()

template<class _RealType = double>
INLINE_VISIBILITY result_type Mantid::Kernel::normal_distribution< _RealType >::max ( ) const
inline

Definition at line 120 of file normal_distribution.h.

◆ mean()

template<class _RealType = double>
INLINE_VISIBILITY result_type Mantid::Kernel::normal_distribution< _RealType >::mean ( ) const
inline

◆ min()

template<class _RealType = double>
INLINE_VISIBILITY result_type Mantid::Kernel::normal_distribution< _RealType >::min ( ) const
inline

Definition at line 118 of file normal_distribution.h.

◆ operator()() [1/3]

template<class _RealType = double>
template<class _URNG >
INLINE_VISIBILITY result_type Mantid::Kernel::normal_distribution< _RealType >::operator() ( _URNG &  __g)
inline

Definition at line 103 of file normal_distribution.h.

◆ operator()() [2/3]

template<class _RealType = double>
template<class _URNG >
result_type Mantid::Kernel::normal_distribution< _RealType >::operator() ( _URNG &  __g,
const param_type __p 
)

◆ operator()() [3/3]

template<class _RealType = double>
template<class _URNG >
_RealType Mantid::Kernel::normal_distribution< _RealType >::operator() ( _URNG &  __g,
const param_type __p 
)

Definition at line 141 of file normal_distribution.h.

◆ param() [1/2]

template<class _RealType = double>
INLINE_VISIBILITY param_type Mantid::Kernel::normal_distribution< _RealType >::param ( ) const
inline

Definition at line 113 of file normal_distribution.h.

◆ param() [2/2]

template<class _RealType = double>
INLINE_VISIBILITY void Mantid::Kernel::normal_distribution< _RealType >::param ( const param_type __p)
inline

Definition at line 115 of file normal_distribution.h.

◆ reset()

template<class _RealType = double>
INLINE_VISIBILITY void Mantid::Kernel::normal_distribution< _RealType >::reset ( )
inline

Definition at line 100 of file normal_distribution.h.

◆ stddev()

template<class _RealType = double>
INLINE_VISIBILITY result_type Mantid::Kernel::normal_distribution< _RealType >::stddev ( ) const
inline

Friends And Related Function Documentation

◆ operator!=

template<class _RealType = double>
INLINE_VISIBILITY bool operator!= ( const normal_distribution< _RealType > &  __x,
const normal_distribution< _RealType > &  __y 
)
friend

Definition at line 125 of file normal_distribution.h.

◆ operator<<

template<class _RealType = double>
template<class _CharT , class _Traits , class _RT >
std::basic_ostream< _CharT, _Traits > & operator<< ( std::basic_ostream< _CharT, _Traits > &  __os,
const normal_distribution< _RT > &  __x 
)
friend

Definition at line 141 of file normal_distribution.h.

◆ operator==

template<class _RealType = double>
INLINE_VISIBILITY bool operator== ( const normal_distribution< _RealType > &  __x,
const normal_distribution< _RealType > &  __y 
)
friend

Definition at line 122 of file normal_distribution.h.

◆ operator>>

template<class _RealType = double>
template<class _CharT , class _Traits , class _RT >
std::basic_istream< _CharT, _Traits > & operator>> ( std::basic_istream< _CharT, _Traits > &  __is,
normal_distribution< _RT > &  __x 
)
friend

Definition at line 179 of file normal_distribution.h.

Member Data Documentation

◆ __p_

template<class _RealType = double>
param_type Mantid::Kernel::normal_distribution< _RealType >::__p_
private

Definition at line 88 of file normal_distribution.h.

◆ _V_

template<class _RealType = double>
result_type Mantid::Kernel::normal_distribution< _RealType >::_V_
private

Definition at line 89 of file normal_distribution.h.

◆ _V_hot_

template<class _RealType = double>
bool Mantid::Kernel::normal_distribution< _RealType >::_V_hot_
private

Definition at line 90 of file normal_distribution.h.


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