read_funct_1dread_funct_1dReadFunct1dReadFunct1d (Operator)
Name
read_funct_1dread_funct_1dReadFunct1dReadFunct1d
— Read a function from a file.
Signature
Description
The operator read_funct_1dread_funct_1dReadFunct1dReadFunct1dReadFunct1d
reads the contents of
FileNameFileNameFileNameFileNamefileName
and converts it into the function
FunctionFunctionFunctionFunctionfunction
. The file has be generated by
write_funct_1dwrite_funct_1dWriteFunct1dWriteFunct1dWriteFunct1d
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
FileNameFileNameFileNameFileNamefileName
(input_control) filename.read →
HTupleHTupleHtuple (string) (string) (HString) (char*)
Name of the file to be read.
FunctionFunctionFunctionFunctionfunction
(output_control) function_1d →
HFunction1D, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Function from the file.
Result
If the parameters are correct the operator read_funct_1dread_funct_1dReadFunct1dReadFunct1dReadFunct1d
returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.
Alternatives
fread_stringfread_stringFreadStringFreadStringFreadString
,
read_tupleread_tupleReadTupleReadTupleReadTuple
See also
write_funct_1dwrite_funct_1dWriteFunct1dWriteFunct1dWriteFunct1d
,
write_imagewrite_imageWriteImageWriteImageWriteImage
,
write_regionwrite_regionWriteRegionWriteRegionWriteRegion
,
open_fileopen_fileOpenFileOpenFileOpenFile
Module
Foundation