Multi-dimensional PDF based on binned data. More...
Public Member Functions | |
| SampledNDProbDenFunc (const ArrayND< float > &) | |
| SampledNDProbDenFunc (const SampledNDProbDenFunc &) | |
| SampledNDProbDenFunc & | operator= (const SampledNDProbDenFunc &) |
| virtual void | copyFrom (const ProbDenFunc &) |
| SampledNDProbDenFunc * | clone () const |
| virtual const char * | getTypeStr () const |
| float | normFac () const |
| bool | canScale () const |
| void | scale (float f) |
| virtual int | nrDims () const |
| virtual const char * | dimName (int) const |
| virtual void | setDimName (int dim, const char *nm) |
| virtual float | value (const TypeSet< float > &) const |
| virtual ArrayND< float > * | getArrClone () const |
| virtual void | fillPar (IOPar &) const |
| virtual bool | usePar (const IOPar &) |
| virtual void | dump (std::ostream &, bool binary) const |
| virtual bool | obtain (std::istream &, bool binary) |
| SampledNDProbDenFunc () | |
Static Public Member Functions | |
| static const char * | typeStr () |
Public Attributes | |
| TypeSet< SamplingData< float > > | sds_ |
| ArrayNDImpl< float > | bins_ |
| BufferStringSet | dimnms_ |
Protected Member Functions | |
| virtual const ArrayND< float > & | getArrND () const |
| virtual const SamplingData < float > & | getSampling (int d) const |
Multi-dimensional PDF based on binned data.
If the 'dimnms_' are not filled, 'Dim0', 'Dim1' ... etc. will be returned.
| SampledNDProbDenFunc::SampledNDProbDenFunc | ( | const ArrayND< float > & | ) |
| SampledNDProbDenFunc::SampledNDProbDenFunc | ( | const SampledNDProbDenFunc & | ) |
| SampledNDProbDenFunc::SampledNDProbDenFunc | ( | ) |
| bool SampledNDProbDenFunc::canScale | ( | ) | const [inline] |
| SampledNDProbDenFunc* SampledNDProbDenFunc::clone | ( | ) | const [inline] |
| virtual void SampledNDProbDenFunc::copyFrom | ( | const ProbDenFunc & | ) | [virtual] |
| virtual const char* SampledNDProbDenFunc::dimName | ( | int | ) | const [virtual] |
| virtual void SampledNDProbDenFunc::dump | ( | std::ostream & | , | |
| bool | binary | |||
| ) | const [virtual] |
Reimplemented from ArrayNDProbDenFunc.
| virtual void SampledNDProbDenFunc::fillPar | ( | IOPar & | ) | const [virtual] |
Reimplemented from ArrayNDProbDenFunc.
| virtual ArrayND<float>* SampledNDProbDenFunc::getArrClone | ( | ) | const [inline, virtual] |
Implements ArrayNDProbDenFunc.
| virtual const ArrayND<float>& SampledNDProbDenFunc::getArrND | ( | ) | const [inline, protected, virtual] |
Implements ArrayNDProbDenFunc.
| virtual const SamplingData<float>& SampledNDProbDenFunc::getSampling | ( | int | d | ) | const [inline, protected, virtual] |
Implements ArrayNDProbDenFunc.
| virtual const char* SampledNDProbDenFunc::getTypeStr | ( | ) | const [inline, virtual] |
| float SampledNDProbDenFunc::normFac | ( | ) | const [inline] |
| virtual int SampledNDProbDenFunc::nrDims | ( | ) | const [inline, virtual] |
| virtual bool SampledNDProbDenFunc::obtain | ( | std::istream & | , | |
| bool | binary | |||
| ) | [virtual] |
Reimplemented from ArrayNDProbDenFunc.
| SampledNDProbDenFunc& SampledNDProbDenFunc::operator= | ( | const SampledNDProbDenFunc & | ) |
| void SampledNDProbDenFunc::scale | ( | float | f | ) | [inline] |
| virtual void SampledNDProbDenFunc::setDimName | ( | int | dim, | |
| const char * | nm | |||
| ) | [inline, virtual] |
| static const char* SampledNDProbDenFunc::typeStr | ( | ) | [inline, static] |
| virtual bool SampledNDProbDenFunc::usePar | ( | const IOPar & | ) | [virtual] |
Reimplemented from ArrayNDProbDenFunc.
| virtual float SampledNDProbDenFunc::value | ( | const TypeSet< float > & | ) | const [virtual] |
| TypeSet< SamplingData<float> > SampledNDProbDenFunc::sds_ |
1.7.1