write_funct_1dT_write_funct_1dWriteFunct1dWriteFunct1dwrite_funct_1d (算子名称)
名称
write_funct_1dT_write_funct_1dWriteFunct1dWriteFunct1dwrite_funct_1d — Write a function to a file.
参数签名
描述
该算子 write_funct_1dwrite_funct_1dWriteFunct1dWriteFunct1dWriteFunct1dwrite_funct_1d writes the contents of FunctionFunctionFunctionFunctionfunctionfunction
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 该算子 read_funct_1dread_funct_1dReadFunct1dReadFunct1dReadFunct1dread_funct_1d.
There is no specific extension for this kind of file.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
FunctionFunctionFunctionFunctionfunctionfunction (input_control) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Function to be written.
FileNameFileNameFileNameFileNamefileNamefile_name (input_control) filename.write → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the file to be written.
结果
If the parameters are correct 该算子 write_funct_1dwrite_funct_1dWriteFunct1dWriteFunct1dWriteFunct1dwrite_funct_1d
返回值 2 (
H_MSG_TRUE)
. Otherwise an exception is raised.
可能的前置算子
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs,
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array
可替代算子
write_tuplewrite_tupleWriteTupleWriteTupleWriteTuplewrite_tuple,
fwrite_stringfwrite_stringFwriteStringFwriteStringFwriteStringfwrite_string
参考其它
read_funct_1dread_funct_1dReadFunct1dReadFunct1dReadFunct1dread_funct_1d,
write_imagewrite_imageWriteImageWriteImageWriteImagewrite_image,
write_regionwrite_regionWriteRegionWriteRegionWriteRegionwrite_region,
open_fileopen_fileOpenFileOpenFileOpenFileopen_file
模块
Foundation