write_funct_1dT_write_funct_1dWriteFunct1dWriteFunct1d (Operator)
Name
write_funct_1dT_write_funct_1dWriteFunct1dWriteFunct1d
— Write a function to a file.
Signature
Description
The operator write_funct_1dwrite_funct_1dWriteFunct1dWriteFunct1dWriteFunct1d
writes the contents of FunctionFunctionFunctionFunctionfunction
to a file. The data is written in an ASCII format. Therefore, the file can
be exchanged between different architectures (see also
Tuple / String Operations).
The data can be read by the operator read_funct_1dread_funct_1dReadFunct1dReadFunct1dReadFunct1d
.
There is no specific extension for this kind of file.
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
FunctionFunctionFunctionFunctionfunction
(input_control) function_1d →
HFunction1D, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Function to be written.
FileNameFileNameFileNameFileNamefileName
(input_control) filename.write →
HTupleHTupleHtuple (string) (string) (HString) (char*)
Name of the file to be written.
Result
If the parameters are correct the operator write_funct_1dwrite_funct_1dWriteFunct1dWriteFunct1dWriteFunct1d
returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.
Possible Predecessors
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs
,
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray
Alternatives
write_tuplewrite_tupleWriteTupleWriteTupleWriteTuple
,
fwrite_stringfwrite_stringFwriteStringFwriteStringFwriteString
See also
read_funct_1dread_funct_1dReadFunct1dReadFunct1dReadFunct1d
,
write_imagewrite_imageWriteImageWriteImageWriteImage
,
write_regionwrite_regionWriteRegionWriteRegionWriteRegion
,
open_fileopen_fileOpenFileOpenFileOpenFile
Module
Foundation