IGLib  1.7.2
The IGLib base library for development of numerical, technical and business applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Num.SampledDataElement Class Reference

A single element of a sampled data, contains vector of input parameters and vector of output values. More...

+ Collaboration diagram for IG.Num.SampledDataElement:

Public Member Functions

 SampledDataElement (IVector input, IVector output)
 Creates a new sampled data element with the specified vectors of input parameters and corresponding output values. More...
 

Static Public Member Functions

static void UpdateElemetIndices (IEnumerable< SampledDataElement > elements)
 Updates indices of sampled data elements contained in the specified collection in such a way that they correspond with their position in collection. More...
 

Protected Attributes

IVector _inputParameters
 
IVector _outputValues
 

Properties

int Index [get, set]
 Idex of the current sampled data element in arrays or list (or in SampledDataSet objects), auxiliary information that facilitates identification and access to specific data chunk out of those that are worked out. More...
 
virtual IVector InputParameters [get, set]
 Vector of input parameters of a single element of sampled data. More...
 
virtual IVector OutputValues [get, set]
 Vector of input parameters of a single element of sampled data. More...
 
virtual int InputLength [get]
 Returns number of input parameters of the current sampled data element. More...
 
virtual int OutputLength [get]
 Returns number of output values of the current sampled data element. More...
 

Private Attributes

int _index
 

Detailed Description

A single element of a sampled data, contains vector of input parameters and vector of output values.

$A Igor Jun08;

Constructor & Destructor Documentation

IG.Num.SampledDataElement.SampledDataElement ( IVector  input,
IVector  output 
)
inline

Creates a new sampled data element with the specified vectors of input parameters and corresponding output values.

Parameters
inputInput parameters.
outputCorresponding output values.

Member Function Documentation

static void IG.Num.SampledDataElement.UpdateElemetIndices ( IEnumerable< SampledDataElement elements)
inlinestatic

Updates indices of sampled data elements contained in the specified collection in such a way that they correspond with their position in collection.

In this way, element indices can be used to directly access elements within the collection (without a search).

Parameters
elementsCollection of sampled data elements for which element indices are updated.

References IG.Num.SampledDataElement.Index.

Referenced by IG.Num.SampledDataSet.UpdateElementIndices().

Member Data Documentation

int IG.Num.SampledDataElement._index
private
IVector IG.Num.SampledDataElement._inputParameters
protected
IVector IG.Num.SampledDataElement._outputValues
protected

Property Documentation

int IG.Num.SampledDataElement.Index
getset

Idex of the current sampled data element in arrays or list (or in SampledDataSet objects), auxiliary information that facilitates identification and access to specific data chunk out of those that are worked out.

Referenced by IG.Num.SampledDataElementDto.CopyFromPlain(), IG.Num.SampledDataSet.GetNumInputDuplicates(), IG.Num.SampledDataSet.RemoveInputDuplicates(), IG.Script.LoadableScriptShellNeuralBase.TestClosestPoints(), and IG.Num.SampledDataElement.UpdateElemetIndices().

virtual int IG.Num.SampledDataElement.InputLength
get

Returns number of input parameters of the current sampled data element.

Referenced by IG.Num.SampledDataSet.AddElement().

virtual int IG.Num.SampledDataElement.OutputLength
get

Returns number of output values of the current sampled data element.

Referenced by IG.Num.SampledDataSet.AddElement().


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