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_array

Function: read_array (<S>, <A>)

array (A, 2, 3);
read_array (file_search ("array.data"), A, comma);
arraylist (A);
A;
read_hashed_array (file_search ("array.data"), B, comma);
arraylist (B);
B[Schmidt];

Function: read_array (<S>, <A>, <separator_flag>) Reads the source <S> into the array <A>, until <A> is full or the source is exhausted. Input data are read into the array in row-major order; the input need not conform to the dimensions of <A>.

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

The recognized values of <separator_flag> are comma, pipe, semicolon, and space. If <separator_flag> is not specified, the file is assumed space-delimited.

(%o1)                                true
(%i2) 

Related Examples

array-listarray-matrix

array(mitabla,2,2);

mitabla[0,0]:11;

mitabla[0,0];

Calculate

array

array(a,0,90,8);

a(0,0);

a(0);

Calculate

array-arrayinfo

array(a,2,3,4);

arrayinfo(a);

Calculate

array-listarray

array(mitabla,2,2);

mitabla[0,0]:11;

mitabla[0,0];

Calculate

array-columnswap-matrix-rowswap-submatrix

A: matrix([a1, b1, c1...

A: columnswap(A,2,3);

A: columnswap(A,1,2);

Calculate

array

array (x,6,3);

n:0;

for a:1 thru 3 do ...

Calculate

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

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

i:0;

f(x):=sin(x);

Calculate

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

p:[[1.3,0.25],[1.15,3...

n:6;

array (d, n, n);

Calculate

array

array(Delta, 3, 3);

for i:1 thru 3 do for...

array(S_alfa, 3, 3);

Calculate