Read a function from a file.
The operator read_funct_1d reads the contents of FileName and converts it into the function Function. The file has be generated by write_funct_1d.
|
FileName (input_control) |
filename -> string |
| Name of the file to be read. | |
|
Function (output_control) |
function_1d(-array) -> real / integer |
| Function from the file. | |
If the parameters are correct the operator read_funct_1d returns the value 2 (H_MSG_TRUE). If the file could not be opened read_funct_1d returns 5 (H_MSG_FAIL). Otherwise an exception handling is raised.
read_funct_1d is reentrant and processed without parallelization.
write_funct_1d, gnuplot_plot_ctrl, write_image, write_region, open_file
Foundation