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:

Read_binary_array

Function: read_binary_array (<S>, <A>) Reads binary 8-byte floating point numbers from the source <S> into the array <A> until <A> is full, or the source is exhausted. <A> must be an array created by array or make_array. Elements of <A> are read in row-major order.

The source <S> may be a file name or a stream.

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

(%o1)                                true
(%i2) 

Related Examples

array-diff-print-subst

array(M, 4);

f(x):=1/(1-x*p);

for i:1 step 1 thru 5...

Calculate

array-expand-plot2d
plot2d([[discrete, p],f(x)], [x,0,4], [style, points, lines],        [color, red, blue], [point_type, asterisk],        [legend, "data", "approximation"], [xlabel, "x"], [ylabel, "y"]);

p:[[0.4,0.3],[1.2,3.2...

n:6;

array (d, n, n);

Calculate

array

array(arr,2,101);

i:0;

for x: 0 step %pi/50 ...

Calculate

array-sum

array(cs,4,4,4);

for i: 0 thru 3 do f...

for i: 0 thru 3 do f...

Calculate

array

array(a, 2, 2);

Calculate

array-do-if-listarray-plot2d-sin
plot2d([f,[discrete,pointx,pointy],[discrete,rx,ry]],[x,0,6.28],[style,lines,points,points],[point_type,circle,diamond],[legend,"sin(x)","",""]);

m:3;

array([rs,rsy],float,m);

i:0;

Calculate

array

array (aa, 2);

aa[1]:10;

Calculate

array

array(T, 901);

Calculate

array-expand-plot2d
plot2d([[discrete, p],f(x)], [x,1.0,3.2], [style, points, lines],  [color, red, blue], [point_type, asterisk],  [legend, "data", "approximation"], [xlabel, "x"], [ylabel, "y"]);

p:[[4,3.5],[1.56,2.42...

n:6;

array (d, n, n);

Calculate

array-expand-plot2d
plot2d([[discrete, p],f(x)], [x,0.7,3.2], [style, points, lines],  [color, red, blue], [point_type, asterisk],  [legend, "data", "approximation"], [xlabel, "x"], [ylabel, "y"]);

p:[[1.2,0.53],[1.6,2....

n:6;

array (d, n, n);

Calculate