SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
python.uq.sampler.Sample.Sample Class Reference
Inheritance diagram for python.uq.sampler.Sample.Sample:

Public Member Functions

 __eq__ (self, sample)
 
 __hash__ (self)
 
 __init__ (self, params=None, sample=None, dtype=SampleType.ACTIVEPROBABILISTIC)
 
 __str__ (self)
 
 fromJson (cls, jsonObject)
 
 getActiveProbabilistic (self)
 
 getActiveUnit (self)
 
 getDim (self, dtype=SampleType.ACTIVEUNIT)
 
 getExpandedDim (self)
 
 getExpandedProbabilistic (self)
 
 getExpandedUnit (self)
 
 getStochasticDim (self)
 
 getValue (self, dtype=SampleType.ACTIVEUNIT)
 
 init (self, activeUnit, activeProb, expandedUnit, expandedProb)
 
 toJson (self)
 

Constructor & Destructor Documentation

◆ __init__()

python.uq.sampler.Sample.Sample.__init__ (   self,
  params = None,
  sample = None,
  dtype = SampleType.ACTIVEPROBABILISTIC 
)
constructor
@param params: ParameterSet
@param sample: numpy array, tuple or list
@param dtype: SampleType

References python.uq.sampler.Sample.Sample.__activeProb, python.uq.sampler.Sample.Sample.__activeUnit, python.uq.sampler.Sample.Sample.__expandedProb, and python.uq.sampler.Sample.Sample.__expandedUnit.

Member Function Documentation

◆ __eq__()

python.uq.sampler.Sample.Sample.__eq__ (   self,
  sample 
)

◆ __hash__()

◆ __str__()

python.uq.sampler.Sample.Sample.__str__ (   self)

◆ fromJson()

python.uq.sampler.Sample.Sample.fromJson (   cls,
  jsonObject 
)

◆ getActiveProbabilistic()

python.uq.sampler.Sample.Sample.getActiveProbabilistic (   self)

References python.uq.sampler.Sample.Sample.__activeProb.

Referenced by python.uq.sampler.Sample.Sample.getValue().

◆ getActiveUnit()

python.uq.sampler.Sample.Sample.getActiveUnit (   self)

References python.uq.sampler.Sample.Sample.__activeUnit.

Referenced by python.uq.sampler.Sample.Sample.__str__(), and python.uq.sampler.Sample.Sample.getValue().

◆ getDim()

◆ getExpandedDim()

python.uq.sampler.Sample.Sample.getExpandedDim (   self)

References python.uq.sampler.Sample.Sample.__expandedUnit.

Referenced by python.uq.sampler.Sample.Sample.getDim().

◆ getExpandedProbabilistic()

python.uq.sampler.Sample.Sample.getExpandedProbabilistic (   self)

References python.uq.sampler.Sample.Sample.__expandedProb.

Referenced by python.uq.sampler.Sample.Sample.getValue().

◆ getExpandedUnit()

python.uq.sampler.Sample.Sample.getExpandedUnit (   self)

References python.uq.sampler.Sample.Sample.__expandedUnit.

Referenced by python.uq.sampler.Sample.Sample.__hash__(), and python.uq.sampler.Sample.Sample.getValue().

◆ getStochasticDim()

python.uq.sampler.Sample.Sample.getStochasticDim (   self)

◆ getValue()

◆ init()

python.uq.sampler.Sample.Sample.init (   self,
  activeUnit,
  activeProb,
  expandedUnit,
  expandedProb 
)

References python.uq.sampler.Sample.Sample.__activeProb, python.uq.sampler.Sample.Sample.__activeUnit, python.uq.sampler.Sample.Sample.__expandedProb, and python.uq.sampler.Sample.Sample.__expandedUnit.

◆ toJson()


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