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

Algebra Calculator

#### Arrays

-- System variable: arrays Default value: `[]`

`arrays` is a list of arrays that have been allocated. These comprise arrays declared by `array`, hashed arrays constructed by implicit definition (assigning something to an array element), and array functions defined by `:=` and `define`. Arrays defined by `make_array` are not included.

See also `array`, `arrayapply`, `arrayinfo`, `arraymake`, `fillarray`, `listarray`, and `rearray`.

Examples:

```          (%i1) array (aa, 5, 7);
(%o1)                          aa
(%i2) bb [FOO] : (a + b)^2;
2
(%o2)                       (b + a)
(%i3) cc [x] := x/100;
x
(%o3)                      cc  := ---
x    100
(%i4) dd : make_array (any, 7);
(%o4)       {Array:  #(NIL NIL NIL NIL NIL NIL NIL)}
(%i5) arrays;
(%o5)                     [aa, bb, cc]```

There are also some inexact matches for `arrays`. Try `?? arrays` to see them.

```(%o1)                                true
(%i2) ```

### Related Examples

##### arrays-listarray

for i:1 thru 3 do blo...

listarray(a);

listarray(b);

Calculate

##### arrays

described(arrays);

Calculate

##### arrays-use_fast_arrays

? use_fast_arrays;

Calculate

? arrays;

Calculate

##### arrays-define-functions-sqrt

F_1 (x) := x - 100;

F_2 (x, y) := x / y;

define (F_3 (x), sqr...

Calculate

gnuplot_reset();

multiplot_mode(none);

Calculate

##### arrays

a[1,2]:3;

arrays;

Calculate

gnuplot_reset();

multiplot_mode(none);

Calculate

example(arrays);

Calculate

##### arrays-define-functions-sqrt

f_1 (x) := x - 100;

f_2 (x, y) := x / y;

define (f_3 (x), sqr...

Calculate