    

 ## On this page

  

 

 # Field models

 Last update: 16.07.2025 

Calculate and evalute field models (e.g. synthetic random fields, empirical random fields) [More...](#details)

## <a name="nested-classes"></a>Classes

class [ApproximateRandomField](class_approximate_random_field.xhtml) an algorithm that computes new field samples from amplitudes and random field model [More...](class_approximate_random_field.xhtml#details)  
 class [ComputeAmplitudes](class_compute_amplitudes.xhtml) Decomposition of one or multiple random fields. [More...](class_compute_amplitudes.xhtml#details)  
 class [ComputeRandomFieldErrors](class_compute_random_field_errors.xhtml) Decomposition of one or multiple random fields. [More...](class_compute_random_field_errors.xhtml#details)  
 class [ExternalRandomFieldModel&lt; TYPE &gt;](class_external_random_field_model.xhtml) Provides random field models. [More...](class_external_random_field_model.xhtml#details)  
 class [FreeFormVariationModel&lt; TYPE &gt;](class_free_form_variation_model.xhtml) Provides random field models. [More...](class_free_form_variation_model.xhtml#details)  
 class [GenerateRandomFields](class_generate_random_fields.xhtml) an algorithm that computes new field samples from amplitudes and scatter shapes The algorithm is essentially the same is the class FieldDesignsFromAmplitudes, but it is based on the data structures stored in class [RandomFieldContainer](class_random_field_container.xhtml "a container storing all random field decompositions "). [More...](class_generate_random_fields.xhtml#details)  
 class [PiecewiseConstantModel&lt; TYPE &gt;](class_piecewise_constant_model.xhtml) Provides random field models. [More...](class_piecewise_constant_model.xhtml#details)  
 class [RandomFieldDecompositionFromSamples](class_random_field_decomposition_from_samples.xhtml) Decomposition of one or multiple random fields. [More...](class_random_field_decomposition_from_samples.xhtml#details)  
 class [RandomFieldModel&lt; TYPE &gt;](class_random_field_model.xhtml) Provides random field models. [More...](class_random_field_model.xhtml#details)  
 class [ReconstructData](class_reconstruct_data.xhtml) Data reconstruction of missing data items using one or multiple random fields. [More...](class_reconstruct_data.xhtml#details)  
 ## <a name="func-members"></a>Functions

[Matrix](class_matrix.xhtml) [generateRandomIndices](group__fieldmodels.xhtml#ga42a9391fd4dba13057a133363710ba55) (number number, number max\_number, size\_t seed=std::time(NULL)) <a id="ga2e561b1f9e6ad88b4273e80252567257"></a> **template** (ExternalRandomFieldModelNode) [ExternalRandomFieldModel](class_external_random_field_model.xhtml)&lt; [NODE\_DATA](group__data.xhtml#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) &gt; <a id="gaab8dec89cbd8fccd1cc4c8261599dcb3"></a> **template** (ExternalRandomFieldModelElement) [ExternalRandomFieldModel](class_external_random_field_model.xhtml)&lt; [ELEMENT\_DATA](group__data.xhtml#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) &gt; <a id="ga74ea5092c1fbf934aeb0c1ebcfa55ec1"></a> **template** (PiecewiseConstantModelNode) [PiecewiseConstantModel](class_piecewise_constant_model.xhtml)&lt; [NODE\_DATA](group__data.xhtml#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) &gt; <a id="ga0d0797dc5b760d227bca01edfbf021bc"></a> **template** (PiecewiseConstantModelElement) [PiecewiseConstantModel](class_piecewise_constant_model.xhtml)&lt; [ELEMENT\_DATA](group__data.xhtml#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) &gt; <a id="ga2d4e41a7acc1ba6e51bab4837a828759"></a> **template** (FreeFormVariationModelNode) [FreeFormVariationModel](class_free_form_variation_model.xhtml)&lt; [NODE\_DATA](group__data.xhtml#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) &gt; <a id="gaa055da0c6b27645e2bb3bae33fbdf8b3"></a> **template** (FreeFormVariationModelElement) [FreeFormVariationModel](class_free_form_variation_model.xhtml)&lt; [ELEMENT\_DATA](group__data.xhtml#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) &gt; <a id="ga78d80e0ccb3aff54f56881ba1d929567"></a> **template** (RandomFieldModelNode) [RandomFieldModel](class_random_field_model.xhtml)&lt; [NODE\_DATA](group__data.xhtml#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) &gt; <a id="gaa321c607cf97f139cc3d05071748354b"></a> **template** (RandomFieldModelElement) [RandomFieldModel](class_random_field_model.xhtml)&lt; [ELEMENT\_DATA](group__data.xhtml#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) &gt; <a id="details" name="details"></a>## Detailed Description

Calculate and evalute field models (e.g. synthetic random fields, empirical random fields)

## Function Documentation

<a id="ga42a9391fd4dba13057a133363710ba55"></a>## [◆ ](#ga42a9391fd4dba13057a133363710ba55)generateRandomIndices()

 [Matrix](class_matrix.xhtml) generateRandomIndices  ( number  *number*,    number  *max\_number*,    size\_t  *seed* = `std::time(NULL)`   ) 

Returnsa vector with random indices Parameters numberthe number of indices max\_numberthe number N of possible indices (0..N-1) seedthe seed of thr random number generator