QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
StatsHolder Class Reference

Helper class for precomputed distributions. More...

#include <gaussianstatistics.hpp>

+ Collaboration diagram for StatsHolder:

Public Types

typedef Real value_type
 

Public Member Functions

 StatsHolder (Real mean, Real standardDeviation)
 
 ~StatsHolder ()=default
 
Real mean () const
 
Real standardDeviation () const
 

Private Attributes

Real mean_
 
Real standardDeviation_
 

Detailed Description

Helper class for precomputed distributions.

Definition at line 114 of file gaussianstatistics.hpp.

Member Typedef Documentation

◆ value_type

typedef Real value_type

Definition at line 116 of file gaussianstatistics.hpp.

Constructor & Destructor Documentation

◆ StatsHolder()

StatsHolder ( Real  mean,
Real  standardDeviation 
)

Definition at line 117 of file gaussianstatistics.hpp.

◆ ~StatsHolder()

~StatsHolder ( )
default

Member Function Documentation

◆ mean()

Real mean ( ) const

Definition at line 121 of file gaussianstatistics.hpp.

◆ standardDeviation()

Real standardDeviation ( ) const

Definition at line 122 of file gaussianstatistics.hpp.

Member Data Documentation

◆ mean_

Real mean_
private

Definition at line 124 of file gaussianstatistics.hpp.

◆ standardDeviation_

Real standardDeviation_
private

Definition at line 124 of file gaussianstatistics.hpp.