### Related

1 * %pi;

Calculate

##### pi

f(x) := 1/(1-e^(x*%i));

f(%pi);

Calculate

##### array-diff-kill-ratexpand-solve-sum

kill(all);

array(c,11);

y:sum(c[n]*x^n,n,0,10);

Calculate

##### array

array(rs,1,5);

i:0;

for x: 0 step 2*%pi/5...

Calculate

##### pi-sqrt

expr: (1/2) * (1/(sq...

Calculate

Calculate

##### pi

v3: v1 + 2*a_3*t_3/%pi;

Calculate

##### pi-tan

\pi;

'tan((3/2)*pi+a)^2 - ...

Calculate

pi();

Calculate

##### pi-sqrt

(2*%pi)/sqrt((3*k)/m)...

Calculate

### [array,arrayinfo,listarray,pi]

Run Example
(%i1)array (aa, 2, 3);
(%o1)                                 aa
(%i2)  aa [2, 3] : %pi;
(%o2)                                 %pi
(%i3)  aa [1, 2] : %e;
(%o3)                                 %e
(%i4)  listarray (aa);
(%o4) [#####, #####, #####, #####, #####, #####, %e, #####, #####, #####,
#####, %pi]
(%i5)  arrayinfo (aa);
(%o5)                        [declared, 2, [2, 3]]
(%i6)  bb [foo] : (a + b)^2;
2
(%o6)                              (b + a)
(%i7)  bb [bar] : (c - d)^3;
3
(%o7)                              (c - d)
(%i8)  listarray (bb);
3         2
(%o8)                        [(c - d) , (b + a) ]
(%i9)  arrayinfo (bb);
(%o9)                      [hashed, 1, [bar], [foo]]
(%i10)  cc [x, y] := y / x;
y
(%o10)                            cc     := -
x, y    x
(%i11)  cc [u, v];
v
(%o11)                                 -
u
(%i12)  cc [4, z];
z
(%o12)                                 -
4
(%i13)  listarray (cc);
z  v
(%o13)                              [-, -]
4  u
(%i14)  arrayinfo (cc);
(%o14)                    [hashed, 2, [4, z], [u, v]]
(%i15)  dd [x] (y) := y ^ x;
x
(%o15)                           dd (y) := y
x
(%i16)  dd [a + b];
b + a
(%o16)                        lambda([y], y     )
(%i17)  dd [v - u];
v - u
(%o17)                        lambda([y], y     )
(%i18)  listarray (dd);
b + a                v - u
(%o18)            [lambda([y], y     ), lambda([y], y     )]
(%i19)  arrayinfo (dd);
(%o19)                   [hashed, 1, [b + a], [v - u]]
(%i20) 
Run Example
array (aa, 2, 3);
(%o1)                                 aa
(%i2)  aa [2, 3] : %pi;
(%o2)                                 %pi
(%i3)  aa [1, 2] : %e;
(%o3)                                 %e
(%i4)  listarray (aa);
(%o4) [#####, #####, #####, #####, #####, #####, %e, #####, #####, #####,
#####, %pi]
(%i5)  arrayinfo (aa);
(%o5)                        [declared, 2, [2, 3]]
(%i6)  bb [FOO] : (a + b)^2;
2
(%o6)                              (b + a)
(%i7)  bb [BAR] : (c - d)^3;
3
(%o7)                              (c - d)
(%i8)  listarray (bb);
3         2
(%o8)                        [(c - d) , (b + a) ]
(%i9)  arrayinfo (bb);
(%o9)                      [hashed, 1, [BAR], [FOO]]
(%i10)  cc [x, y] := y / x;
y
(%o10)                            cc     := -
x, y    x
(%i11)  cc [u, v];
v
(%o11)                                 -
u
(%i12)  cc [4, z];
z
(%o12)                                 -
4
(%i13)  listarray (cc);
z  v
(%o13)                              [-, -]
4  u
(%i14)  arrayinfo (cc);
(%o14)                    [hashed, 2, [4, z], [u, v]]
(%i15)  dd [x] (y) := y ^ x;
x
(%o15)                           dd (y) := y
x
(%i16)  dd [a + b];
b + a
(%o16)                        lambda([y], y     )
(%i17)  dd [v - u];
v - u
(%o17)                        lambda([y], y     )
(%i18)  listarray (dd);
b + a                v - u
(%o18)            [lambda([y], y     ), lambda([y], y     )]
(%i19)  arrayinfo (dd);
(%o19)                   [hashed, 1, [b + a], [v - u]]
(%i20) 
Run Example
array (aa, 2, 3);
(%o1)                                 aa
(%i2)  aa [2, 3] : %pi;
(%o2)                                 %pi
(%i3)  aa [1, 2] : %e;
(%o3)                                 %e
(%i4)  arrayinfo (aa);
(%o4)                        [declared, 2, [2, 3]]
(%i5)  listarray (aa);
(%o5) [#####, #####, #####, #####, #####, #####, %e, #####, #####, #####,
#####, %pi]
(%i6)  bb [foo] : (a + b)^2;
2
(%o6)                              (b + a)
(%i7)  bb [bar] : (c - d)^3;
3
(%o7)                              (c - d)
(%i8)  arrayinfo (bb);
(%o8)                      [hashed, 1, [bar], [foo]]
(%i9)  listarray (bb);
3         2
(%o9)                        [(c - d) , (b + a) ]
(%i10)  cc [x, y] := y / x;
y
(%o10)                            cc     := -
x, y    x
(%i11)  cc [u, v];
v
(%o11)                                 -
u
(%i12)  cc [4, z];
z
(%o12)                                 -
4
(%i13)  arrayinfo (cc);
(%o13)                    [hashed, 2, [4, z], [u, v]]
(%i14)  listarray (cc);
z  v
(%o14)                              [-, -]
4  u
(%i15)  dd [x] (y) := y ^ x;
x
(%o15)                           dd (y) := y
x
(%i16)  dd [a + b];
b + a
(%o16)                        lambda([y], y     )
(%i17)  dd [v - u];
v - u
(%o17)                        lambda([y], y     )
(%i18)  arrayinfo (dd);
(%o18)                   [hashed, 1, [b + a], [v - u]]
(%i19)  listarray (dd);
b + a                v - u
(%o19)            [lambda([y], y     ), lambda([y], y     )]
(%i20) 

### Related Help

Help for Array

Help for Arrayinfo

Help for Listarray

Help for Pi