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:

Arrays 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.

load(draw);
gnuplot_reset();
multiplot_mode(none);
use_fast_arrays:true;
translate_fast_arrays:false;
remarray(all);
kill(a, f, k, x, i);
f(k, x):=(sin(3/2*k)/k)*((2/3)*cos(k*x));
a[i]:=gr2d(explicit((1)+ sum(f(k, x), k, 1, 10^(i-1)), x, -2, 2)), numer;
draw(a[1], a[2], columns=2);

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) 

Arrays Example

Related Examples

arrays-listarray

for i:1 thru 3 do blo...

listarray(a);

listarray(b);

Calculate

arrays

described(arrays);

Calculate

arrays-define-functions-sqrt

F_1 (x) := x - 100;

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

define (F_3 (x), sqr...

Calculate

arrays

a[1,2]:3;

arrays;

Calculate

arrays-example

example(arrays);

Calculate

arrays-define-functions-sqrt

f_1 (x) := x - 100;

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

define (f_3 (x), sqr...

Calculate