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-arrayinfo-listarray

array (P,3,1);

arrayinfo (P);

i:1;

Calculate

array

array(a,1);

A[12,13,14,15];

A[1];

Calculate

array-diff-print-subst

array(M, 4);

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

for i:1 step 1 thru 5...

Calculate

array

array (aa, 2);

aa[1]:10;

Calculate

array

array(a,2,3,4);

array(b,1);

a;

Calculate

array-fillarray-listarray-make_array-makelist

array (a1, fixnum, 8);

listarray (a1);

fillarray (a1, [1, 2...

Calculate

array-cos-random-sin

array(data,16,16,16);

for i: 0 thru 7 do f...

data[0,0,0]=data[8,0,0];

Calculate

array-divsum-do-endcons-length

d(n):=divsum(n)-n;

abu(n):=if d(n) < ...

l : [];

Calculate

array-linsolve-listarray-matrix-nullspace-print-random

m:matrix([1,1,-1],[1,...

eq1:x+y-z=0;

eq2:x+5*y+z=0;

Calculate