Return the value of a function at an arbitrary position.
get_y_value_funct_1d returns the y value of the function Function at the x coordinates specified by X. To obtain the y values, the input function is interpolated linearly. The parameter Border determines the values of the function Function outside of its domain. For Border='zero' these values are set to 0, for Border='constant' they are set to the corresponding value at the border, for Border='mirror' they are mirrored at the border, for Border='cyclic' they are continued cyclically, and for Border='error' an exception handling is raised.
|
Function (input_control) |
function_1d-array -> real / integer |
| Input function. | |
|
X (input_control) |
number(-array) -> real |
| X coordinate at which the function should be evaluated. | |
|
Border (input_control) |
string -> string |
| Border treatment for the input function. | |
| Default value: 'constant' | |
| List of values: 'zero', 'constant', 'mirror', 'cyclic', 'error' | |
|
Y (output_control) |
number(-array) -> real |
| Y value at the given x value. | |
get_y_value_funct_1d is reentrant and processed without parallelization.
create_funct_1d_pairs, create_funct_1d_array
Foundation