Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Write_binary_data

Function: write_binary_data (<X>, <D>) Writes the object <X>, comprising binary 8-byte IEEE 754 floating-point numbers, to the destination <D>. Other kinds of numbers are coerced to 8-byte floats. write_binary_data cannot write non-numeric data.

The object <X> may be a list, a nested list, a matrix, or an array created by array or make_array; <X> cannot be an undeclared array or any other type of object. write_binary_data writes nested lists, matrices, and arrays in row-major order.

The destination <D> may be a file name or a stream. When the destination is a file name, the global variable file_output_append governs whether the output file is appended or truncated. When the destination is a stream, no special action is taken by write_binary_data after all the data are written; in particular, the stream remains open.

The byte order in elements of the destination is specified by assume_external_byte_order.

(%o1)                                true
(%i2) 

Related Examples

write_binary_data

? write_binary_data;

Calculate

write_binary_data

? write_binary_data;

Calculate