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-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:6;

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

i:0;

Calculate

array-listarray

array(a, 5, 1);

a [1,1] : 5;

listarray(a);

Calculate

array-listarray

array (aa, 2);

aa[1]:10;

aa[0]:100;

Calculate

array-cos-random-remainder-sin-subst

array(data,8,8,8);

for i: 0 thru 7 do f...

data[0,0,0];

Calculate

array-charlist-cint-debugmode-do-listarray-make_array-slength-true

debugmode(true);

tekst:"Ala";

characters:charlist(t...

Calculate

array

array(arr,2,101);

i:0;

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

Calculate

array-listarray

array (P,3,1);

P[0,0] : 1;

P[0,1] : 1;

Calculate

array

array(a,2,3,4);

array(b,1);

Calculate

array-coeff-conjugate-genmatrix-listarray-matrix

array(mitabla,2,2);

mitabla[0,0]:11;

mitabla[0,0];

Calculate