### The Maxima on-line user's manual

Algebra Calculator

#### Search:

Function: read_hashed_array (<S>, <A>, <separator_flag>) Reads the source <S> and returns its entire content as a hashed array. The source <S> may be a file name or a stream.

`read_hashed_array` treats the first item on each line as a hash key, and associates the remainder of the line (as a list) with the key. For example, the line `567 12 17 32 55` is equivalent to `A[567]: [12, 17, 32, 55]\$`. Lines need not have the same numbers of elements.

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(var,4);

var[0]:t;

var[1]:r;

Calculate

##### array-do-if-listarray-plot2d-sin

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

i:0;

f(x):=sin(x);

Calculate

array(a,2,3,4);

Calculate

array (P,3,1);

array (Q,3,1);

P[0,0] : 1;

Calculate

##### array-expand-plot2d

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

n:6;

array (d, n, n);

Calculate

y(t):=cos(2*%pi*10*t);

array(ra, float, 31);

Calculate

##### array-arrays-make_array

array (aa, 5, 7);

bb [foo] : (a + b)^2;

cc [x] := x/100;

Calculate

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

debugmode(true);

tekst:"ALA";

code:[a,b,c,d,e,f,g,h...

Calculate

array(var,4);

var[0]:t;

var[1]:r;

Calculate

##### array-coeff-conjugate-divide-expand-factor-genmatrix-listarray-matrix-remainder

array(mitabla,2,2);

mitabla[0,0]:11;

mitabla[0,0];

Calculate