STK++ 0.9.13
STK::ParametersGammaBase Struct Reference

base class of the Gamma models Parameter Handler More...

#include <STK_GammaParameters.h>

Inheritance diagram for STK::ParametersGammaBase:
Inheritance graph

Public Member Functions

 ParametersGammaBase (int nbCluster)
 default constructor
 
 ParametersGammaBase (ParametersGammaBase const &model)
 copy constructor
 
 ~ParametersGammaBase ()
 destructor
 
ParametersGammaBaseoperator= (ParametersGammaBase const &other)
 copy operator
 
void resize (Range const &range)
 

Public Attributes

Array1D< CPointXmean_
 mean for each class
 
Array1D< CPointXmeanLog_
 log-means for each class
 
Array1D< CPointXvariance_
 variance for each class
 

Detailed Description

base class of the Gamma models Parameter Handler

Definition at line 49 of file STK_GammaParameters.h.

Constructor & Destructor Documentation

◆ ParametersGammaBase() [1/2]

STK::ParametersGammaBase::ParametersGammaBase ( int  nbCluster)

default constructor

Definition at line 50 of file STK_GammaParameters.cpp.

51 : mean_(nbCluster), meanLog_(nbCluster)
52 , variance_(nbCluster)
53{}
Array1D< CPointX > meanLog_
log-means for each class
Array1D< CPointX > mean_
mean for each class
Array1D< CPointX > variance_
variance for each class

◆ ParametersGammaBase() [2/2]

STK::ParametersGammaBase::ParametersGammaBase ( ParametersGammaBase const model)

copy constructor

Definition at line 55 of file STK_GammaParameters.cpp.

56 : mean_(model.mean_)
57 , meanLog_(model.meanLog_)
58 , variance_(model.variance_) {}

◆ ~ParametersGammaBase()

STK::ParametersGammaBase::~ParametersGammaBase ( )

destructor

Definition at line 60 of file STK_GammaParameters.cpp.

60{}

Member Function Documentation

◆ operator=()

ParametersGammaBase & STK::ParametersGammaBase::operator= ( ParametersGammaBase const other)

copy operator

Definition at line 41 of file STK_GammaParameters.cpp.

42{
43 mean_ = other.mean_;
44 meanLog_ = other.meanLog_;
45 variance_ = other.variance_;
46 return *this;
47}

References mean_, meanLog_, and variance_.

◆ resize()

Member Data Documentation

◆ mean_

Array1D<CPointX> STK::ParametersGammaBase::mean_

mean for each class

Definition at line 52 of file STK_GammaParameters.h.

Referenced by operator=(), and resize().

◆ meanLog_

Array1D<CPointX> STK::ParametersGammaBase::meanLog_

log-means for each class

Definition at line 54 of file STK_GammaParameters.h.

Referenced by operator=(), and resize().

◆ variance_

Array1D<CPointX> STK::ParametersGammaBase::variance_

variance for each class

Definition at line 56 of file STK_GammaParameters.h.

Referenced by operator=(), and resize().


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