![]()  | 
  
    SG++-Doxygen-Documentation
    
   | 
 
  
 Public Member Functions | |
| def | __eq__ (self, sample) | 
| def | __hash__ (self) | 
| def | __init__ (self, params=None, sample=None, dtype=SampleType.ACTIVEPROBABILISTIC) | 
| def | __str__ (self) | 
| def | fromJson (cls, jsonObject) | 
| def | getActiveProbabilistic (self) | 
| def | getActiveUnit (self) | 
| def | getDim (self, dtype=SampleType.ACTIVEUNIT) | 
| def | getExpandedDim (self) | 
| def | getExpandedProbabilistic (self) | 
| def | getExpandedUnit (self) | 
| def | getStochasticDim (self) | 
| def | getValue (self, dtype=SampleType.ACTIVEUNIT) | 
| def | init (self, activeUnit, activeProb, expandedUnit, expandedProb) | 
| def | toJson (self) | 
| def 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.
| def python.uq.sampler.Sample.Sample.__eq__ | ( | self, | |
| sample | |||
| ) | 
| def python.uq.sampler.Sample.Sample.__hash__ | ( | self | ) | 
| def python.uq.sampler.Sample.Sample.__str__ | ( | self | ) | 
References python.uq.sampler.Sample.Sample.getActiveUnit().
| def python.uq.sampler.Sample.Sample.fromJson | ( | cls, | |
| jsonObject | |||
| ) | 
Restores the Sample object from the json object with its attributes. @param jsonObject: json object @return: the restored Sample object
Referenced by python.uq.uq_setting.UQSetting.UQSetting.setMemento().
| def python.uq.sampler.Sample.Sample.getActiveProbabilistic | ( | self | ) | 
References python.uq.sampler.Sample.Sample.__activeProb.
Referenced by python.uq.sampler.Sample.Sample.getValue().
| def 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().
| def python.uq.sampler.Sample.Sample.getDim | ( | self, | |
dtype = SampleType.ACTIVEUNIT  | 
        |||
| ) | 
References python.uq.sampler.Sample.Sample.getExpandedDim(), python.uq.sampler.Sample.Sample.getStochasticDim(), and python.uq.parameters.ParameterSet.ParameterSet.getStochasticDim().
Referenced by python.uq.dists.SGDEdist.SGDEdist.__str__(), python.uq.dists.KDEDist.KDEDist.getBandwidths(), and python.uq.uq_setting.UQSetting.UQSetting.getDim().
| def python.uq.sampler.Sample.Sample.getExpandedDim | ( | self | ) | 
References python.uq.sampler.Sample.Sample.__expandedUnit.
Referenced by python.uq.sampler.Sample.Sample.getDim().
| def python.uq.sampler.Sample.Sample.getExpandedProbabilistic | ( | self | ) | 
References python.uq.sampler.Sample.Sample.__expandedProb.
Referenced by python.uq.sampler.Sample.Sample.getValue().
| def 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().
| def python.uq.sampler.Sample.Sample.getStochasticDim | ( | self | ) | 
References python.uq.sampler.Sample.Sample.__activeUnit.
Referenced by python.uq.sampler.Sample.Sample.getDim().
| def python.uq.sampler.Sample.Sample.getValue | ( | self, | |
dtype = SampleType.ACTIVEUNIT  | 
        |||
| ) | 
| def 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.
| def python.uq.sampler.Sample.Sample.toJson | ( | self | ) | 
Returns a string that represents the object
Referenced by python.uq.uq_setting.UQSetting.UQSetting.__str__(), and python.uq.uq_setting.UQSetting.UQSetting.createMemento().