OpendTect  7.0
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members
GaussianNDProbDenFunc Class Reference

Multi-dimensional pure Gaussian PDF. More...

Inheritance diagram for GaussianNDProbDenFunc:
[legend]

Classes

class  Corr
 
class  VarDef
 

Public Member Functions

 GaussianNDProbDenFunc (const GaussianNDProbDenFunc &oth)
 
 GaussianNDProbDenFunc (int nrdims=3)
 
 ~ GaussianNDProbDenFunc ()
 
float averagePos (int) const override
 
GaussianNDProbDenFuncclone () const override
 
void copyFrom (const ProbDenFunc &) override
 
void drawRandomPos (TypeSet< float > &) const override
 
void fillPar (IOPar &) const override
 
const char * firstUncorrelated () const
 
const char * getTypeStr () const override
 
bool hasLimits () const override
 
bool isEq (const ProbDenFunc &) const override
 already checked for type, name, dim names and units More...
 
int nrDims () const override
 
GaussianNDProbDenFuncoperator= (const GaussianNDProbDenFunc &)
 
void prepareRandDrawing () const override
 
float stddevPos (int) const override
 
bool usePar (const IOPar &) override
 
float value (const TypeSet< float > &) const override
 Not properly implemented because it can't be done. More...
 
- Public Member Functions inherited from ProbDenFunc
virtual ~ProbDenFunc ()
 
virtual bool canScale () const
 
const char * dimName (int dim) const
 
void getIndexTableFor (const ProbDenFunc &pdf, TypeSet< int > &tbl) const
 tbl[0] tells what my index is for pdf's index '0' More...
 
const char * getUOMSymbol (int dim) const
 
virtual bool isCompatibleWith (const ProbDenFunc &) const
 
virtual bool isEqual (const ProbDenFunc &) const
 
virtual float normFac () const
 
virtual bool readBulk (od_istream &, bool binary)
 
virtual void scale (float)
 
void setDimName (int dim, const char *)
 
void setUOMSymbol (int dim, const char *)
 
virtual void writeBulk (od_ostream &, bool binary) const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static const char * typeStr ()
 
- Static Public Member Functions inherited from ProbDenFunc
static const char * sKeyNrDim ()
 

Public Attributes

TypeSet< Corrcorrs_
 
TypeSet< VarDefvars_
 

Private Attributes

Array2DMatrix< float > * cholesky_ = nullptr
 
ObjectSet< Stats::NormalRandGenrgens_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Protected Member Functions inherited from ProbDenFunc
 ProbDenFunc ()
 
 ProbDenFunc (const ProbDenFunc &)
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Detailed Description

Multi-dimensional pure Gaussian PDF.

<>

Constructor & Destructor Documentation

◆ GaussianNDProbDenFunc() [1/2]

GaussianNDProbDenFunc::GaussianNDProbDenFunc ( int  nrdims = 3)

◆ GaussianNDProbDenFunc() [2/2]

GaussianNDProbDenFunc::GaussianNDProbDenFunc ( const GaussianNDProbDenFunc oth)
inline

◆ ~ GaussianNDProbDenFunc()

GaussianNDProbDenFunc::~ GaussianNDProbDenFunc ( )

Member Function Documentation

◆ averagePos()

float GaussianNDProbDenFunc::averagePos ( int  ) const
overridevirtual

Implements ProbDenFunc.

◆ clone()

GaussianNDProbDenFunc* GaussianNDProbDenFunc::clone ( ) const
inlineoverridevirtual

Implements ProbDenFunc.

◆ copyFrom()

void GaussianNDProbDenFunc::copyFrom ( const ProbDenFunc )
overridevirtual

Implements ProbDenFunc.

◆ drawRandomPos()

void GaussianNDProbDenFunc::drawRandomPos ( TypeSet< float > &  ) const
overridevirtual

Implements ProbDenFunc.

◆ fillPar()

void GaussianNDProbDenFunc::fillPar ( IOPar ) const
overridevirtual

Implements ProbDenFunc.

◆ firstUncorrelated()

const char* GaussianNDProbDenFunc::firstUncorrelated ( ) const

◆ getTypeStr()

const char* GaussianNDProbDenFunc::getTypeStr ( ) const
inlineoverridevirtual

Implements ProbDenFunc.

◆ hasLimits()

bool GaussianNDProbDenFunc::hasLimits ( ) const
inlineoverridevirtual

Implements ProbDenFunc.

◆ isEq()

bool GaussianNDProbDenFunc::isEq ( const ProbDenFunc ) const
overridevirtual

already checked for type, name, dim names and units

Implements ProbDenFunc.

◆ nrDims()

int GaussianNDProbDenFunc::nrDims ( ) const
overridevirtual

Implements ProbDenFunc.

◆ operator=()

GaussianNDProbDenFunc& GaussianNDProbDenFunc::operator= ( const GaussianNDProbDenFunc )

◆ prepareRandDrawing()

void GaussianNDProbDenFunc::prepareRandDrawing ( ) const
overridevirtual

Reimplemented from ProbDenFunc.

◆ stddevPos()

float GaussianNDProbDenFunc::stddevPos ( int  ) const
overridevirtual

Implements ProbDenFunc.

◆ typeStr()

static const char* GaussianNDProbDenFunc::typeStr ( )
inlinestatic

◆ usePar()

bool GaussianNDProbDenFunc::usePar ( const IOPar )
overridevirtual

Implements ProbDenFunc.

◆ value()

float GaussianNDProbDenFunc::value ( const TypeSet< float > &  ) const
overridevirtual

Not properly implemented because it can't be done.

Implements ProbDenFunc.

Member Data Documentation

◆ cholesky_

Array2DMatrix<float>* GaussianNDProbDenFunc::cholesky_ = nullptr
private

◆ corrs_

TypeSet<Corr> GaussianNDProbDenFunc::corrs_

◆ rgens_

ObjectSet<Stats::NormalRandGen> GaussianNDProbDenFunc::rgens_
mutableprivate

◆ vars_

TypeSet<VarDef> GaussianNDProbDenFunc::vars_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024