Interpolator
An interpolator object.
Example
app = feko.GetApplication() app:NewProject() -- The simulated values local simulated = {} simulated.independent = { 1e9, 2e9, 3e9, 4e9, 5e9, 6e9, 7e9, 8e9, 9e9, 10e9 } simulated.dependent = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 } -- Setup and configure 'Interpolator' object local Interpolator = feko.Interpolator.Rational( simulated.independent, simulated.dependent ) -- Print 'Interpolator' type print(Interpolator.Type)
Usage locations
The Interpolator object can be accessed from the following locations:
Property List
- Errors
- The error messages for the interpolation. (Read only string)
- Settings
- Additional settings that are required by the interpolation algorithm. (Read only InterpolatorSettings)
- Succeeded
- The success of the interpolation. (Read only boolean)
- Type
- The object type string. (Read only string)
- Warnings
- The warning messages for the interpolation. (Read only string)
Method List
- Resample (resampledscalaraxis List of number)
- Returns a table with estimated values corresponding to the independent axis sampling that has been provided. (Returns a List of Variant object.)
- Resample (resampledcomplexaxis List of Complex)
- Returns a table with estimated values corresponding to the independent axis sampling that has been provided. (Returns a List of Variant object.)
Constructor Function List
- Rational (independentvalues List of number, dependentcomplexvalues List of Complex)
- Creates an object that can be used for rational interpolation (using adaptive sampling techniques). The parameters specify the known list of independent and dependent values. (Returns a Interpolator object.)
- Rational (independentvalues List of number, dependentscalarvalues List of number)
- Creates an object that can be used for rational interpolation (using adaptive sampling techniques). The parameters specify the known list of independent and dependent values. (Returns a Interpolator object.)
Property Details
- Errors
- The error messages for the interpolation.
- Type
- string
- Access
- Read only
- Settings
- Additional settings that are required by the interpolation algorithm.
- Type
- InterpolatorSettings
- Access
- Read only
- Succeeded
- The success of the interpolation.
- Type
- boolean
- Access
- Read only
- Type
- The object type string.
- Type
- string
- Access
- Read only
- Warnings
- The warning messages for the interpolation.
- Type
- string
- Access
- Read only
Method Details
- Resample (resampledscalaraxis List of number)
- Returns a table with estimated values corresponding to the independent axis sampling that has been provided.
- Resample (resampledcomplexaxis List of Complex)
- Returns a table with estimated values corresponding to the independent axis sampling that has been provided.
Static Function Details
- Rational (independentvalues List of number, dependentcomplexvalues List of Complex)
- Creates an object that can be used for rational interpolation (using adaptive sampling techniques). The parameters specify the known list of independent and dependent values.
- Input Parameters
- Return
- Interpolator
- Returns an Interpolator object.
- Rational (independentvalues List of number, dependentscalarvalues List of number)
- Creates an object that can be used for rational interpolation (using adaptive sampling techniques). The parameters specify the known list of independent and dependent values.
- Input Parameters
- Return
- Interpolator
- Returns an Interpolator object.