Maxima Function
write_data (X, file_name)
write_data(object,file_name,separator_flag)
write_data(X,S)
write_data(object,S,separator_flag)
write_data
writes the object X to the file file_name or file stream S.
write_data
writes matrices in row-major form,
with one line per row.
write_data
writes Lisp and Maxima declared arrays in
row-major form, with a new line at the end of every slab.
Higher-dimensional slabs are separated by additional new lines.
write_data
writes hashed arrays with a key followed by
the associated list on each line.
write_data
writes a nested list with each sublist on one line.
write_data
writes a flat list all on one line.
When write_data
writes to a file,
the global variable file_output_append
governs
whether the output file is appended or truncated.
No special action concerning appending or truncating
is taken when write_data
writes to a file stream.
The file stream is not closed by write_data
.