    

 ## On this page

  

 

 # ComputeQuantile&lt; TYPE &gt; Class Template Reference

 Last update: 16.07.2025 

a struct which collects settings for QCS/Cpk [More...](class_compute_quantile.xhtml#details)

## <a id="pub-types" name="pub-types"></a>Public Types

typedef boost::function&lt; DataObject::ptr\_type([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b), [DataObjectVector](class_data_object_vector.xhtml) samples)&gt; [TAlgorithmFunction](class_compute_single_object_per_sample.xhtml#ac597f6cab052d215247719908ce3cb0b) defines a function object [More...](#ac597f6cab052d215247719908ce3cb0b)  
 ## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [check](class_compute_quantile.xhtml#a47c34ec1e578c2ce27cf1c5fcd0d1704) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine. [More...](#a47c34ec1e578c2ce27cf1c5fcd0d1704)  
  [compute](class_compute_single_object_per_sample.xhtml#a919d852c00f29d479c628f0dc1a8387c) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b), [DataObjectVector](class_data_object_vector.xhtml) [data](class_compute_single_object_per_sample.xhtml#aff21fffab499ea652443206d66e1a9bb), string new\_quantity\_ident, string [new\_design\_ident](class_compute_single_object_per_sample.xhtml#aef951e72e1c034e5e2c484edf1b7f5a8)) performs the action for a single set of samples [More...](#a919d852c00f29d479c628f0dc1a8387c)  
  [compute](class_compute_single_object_per_sample.xhtml#ab08e112d95fe611e7eb25491c354d115) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) performs the action using the defined settings. [More...](#ab08e112d95fe611e7eb25491c354d115)  
  [ComputeQuantile](class_compute_quantile.xhtml#ab6a88780f2527ab3617b6b6f90e065a1) (number quantile\_probability=0.001) default constructor [More...](#ab6a88780f2527ab3617b6b6f90e065a1)  
  [ComputeQuantile](class_compute_quantile.xhtml#a6e34622e5e641838e5d37b14018db81c) ([DataObjectContainer](class_data_object_container.xhtml) the\_data, number quantile\_probability=0.001) constructor which sets suitable defaults for all members [More...](#a6e34622e5e641838e5d37b14018db81c)  
 ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

<a id="aff21fffab499ea652443206d66e1a9bb"></a>[DataObjectContainer](class_data_object_container.xhtml) [data](class_compute_single_object_per_sample.xhtml#aff21fffab499ea652443206d66e1a9bb) the data set to be analyzed   
 <a id="aef951e72e1c034e5e2c484edf1b7f5a8"></a>string [new\_design\_ident](class_compute_single_object_per_sample.xhtml#aef951e72e1c034e5e2c484edf1b7f5a8) the design ident of the new object   
 <a id="a30b1bcf63b9bdc707fea30bd96d70447"></a>[DataObjectContainer::string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) [new\_quantity\_idents](class_compute_single_object_per_sample.xhtml#a30b1bcf63b9bdc707fea30bd96d70447) the new idents for each quantity. The dimension and index space must fit the one of *quantity\_idents*   
 <a id="ade25e60bd85c8b4abd4f5b416cae0eb9"></a>bool [overwrite\_existing](class_compute_single_object_per_sample.xhtml#ade25e60bd85c8b4abd4f5b416cae0eb9) is true if already existing output data objects will be replaced. In this case, also all depending objects of the already existing one will be deleted.   
 <a id="a68f499ff6c057fd908002af54c0935d0"></a>number [p](class_compute_quantile.xhtml#a68f499ff6c057fd908002af54c0935d0) the probability value for which the quantile value ![$ F^{-1}(p) $](/sites/default/files/migrate-content/osp3d_script/form_8.png) is to be computed.   
 <a id="aced57c746ae1d69d2fd56872fa1768bf"></a>[DataObjectContainer::string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) [quantity\_idents](class_compute_single_object_per_sample.xhtml#aced57c746ae1d69d2fd56872fa1768bf) the quantities to be analyzed. If a quantity ident does not exist in *data*, no error appears.   
 <a id="details" name="details"></a>## Detailed Description

### template&lt;dataobject\_types TYPE&gt;  
class ComputeQuantile&lt; TYPE &gt;

a struct which collects settings for QCS/Cpk

Template Parameters Node[Element](class_element.xhtml "Repesents the geometry of a finite element within a mesh. ")Scalar

## Member Typedef Documentation

<a id="ac597f6cab052d215247719908ce3cb0b"></a>## [◆ ](#ac597f6cab052d215247719908ce3cb0b)TAlgorithmFunction

 typedef boost::function&lt;DataObject::ptr\_type( [Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b), [DataObjectVector](class_data_object_vector.xhtml) samples)&gt; [TAlgorithmFunction](class_compute_single_object_per_sample.xhtml#ac597f6cab052d215247719908ce3cb0b)  inherited 

defines a function object

Parameters databasethe database where the data refer to samplesthe vector of samples to which the function is applied to. Returnsthe result of the operation 



## Constructor &amp; Destructor Documentation

<a id="ab6a88780f2527ab3617b6b6f90e065a1"></a>## [◆ ](#ab6a88780f2527ab3617b6b6f90e065a1)ComputeQuantile() \[1/2\]

 [ComputeQuantile](class_compute_quantile.xhtml)  ( number  *quantile\_probability* = `0.001`) 

default constructor

Parameters quantile\_probabilitysets p 



<a id="a6e34622e5e641838e5d37b14018db81c"></a>## [◆ ](#a6e34622e5e641838e5d37b14018db81c)ComputeQuantile() \[2/2\]

 [ComputeQuantile](class_compute_quantile.xhtml)  ( [DataObjectContainer](class_data_object_container.xhtml)  *the\_data*,    number  *quantile\_probability* = `0.001`   ) 

constructor which sets suitable defaults for all members

Parameters the\_datathe subset of field data to be token as input. quantile\_probabilitysets p All quantity idents are extracted. Then for each quantity a new result object will be created with user specific design ident. 



## Member Function Documentation

<a id="a47c34ec1e578c2ce27cf1c5fcd0d1704"></a>## [◆ ](#a47c34ec1e578c2ce27cf1c5fcd0d1704)check()

 check  ( [Structure](class_structure.xhtml)  *database*) 

checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine.

Parameters databasethe SoS structure 



<a id="a919d852c00f29d479c628f0dc1a8387c"></a>## [◆ ](#a919d852c00f29d479c628f0dc1a8387c)compute() \[1/2\]

 compute  ( [Structure](class_structure.xhtml)  *database*,    [DataObjectVector](class_data_object_vector.xhtml)  *data*,    string  *new\_quantity\_ident*,    string  *new\_design\_ident*   )   inherited 

performs the action for a single set of samples

Parameters databasethe output object is to be inserted in this object dataa vector of samples new\_quantity\_identthe quantity ident of the new object new\_design\_identthe design ident of the new object The output object is inactive. 



<a id="ab08e112d95fe611e7eb25491c354d115"></a>## [◆ ](#ab08e112d95fe611e7eb25491c354d115)compute() \[2/2\]

 compute  ( [Structure](class_structure.xhtml)  *database*)   inherited 

performs the action using the defined settings.

Parameters databasethe output object where new objects are added to