Transform a function using given transformation parameters.
transform_funct_1d transforms the input function Function using the transformation parameters given in Params. The function Function is passed as a tuple (see create_funct_1d_array und create_funct_1d_pairs). The following model is used for the transformation between the two functions (see match_funct_1d_trans):
yt(x) = a1*y(a3*x+a4)+a2 .
The output function TransformedFunction is obtained by
transforming the x and y values of the input function separately
with the above formula, i.e., the output function is not sampled
again. Therefore, the parameter 3 is restricted to
a3!=0.0. To resample a function, the operator
sample_funct_1d can be used.
|
Function (input_control) |
function_1d-array -> real / integer |
| Input function. | |
|
Params (input_control) |
number-array -> real |
| Transformation parameters between the functions. | |
| Number of elements: 4 | |
|
TransformedFunction (output_control) |
function_1d-array -> real / integer |
| Transformed function. | |
transform_funct_1d is reentrant and processed without parallelization.
create_funct_1d_pairs, create_funct_1d_array, match_funct_1d_trans
Foundation