Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: arraymake (<A>, [<i_1>, ..., <i_n>]) Returns the expression <A>[<i_1>, ..., <i_n>]. The result is an unevaluated array reference.
arraymake is reminiscent of funmake, except the return value is an unevaluated array reference instead of an unevaluated function call.
Examples:
(%i1) arraymake (A, [1]);
(%o1) A
1
(%i2) arraymake (A, [k]);
(%o2) A
k
(%i3) arraymake (A, [i, j, 3]);
(%o3) A
i, j, 3
(%i4) array (A, fixnum, 10);
(%o4) A
(%i5) fillarray (A, makelist (i^2, i, 1, 11));
(%o5) A
(%i6) arraymake (A, [5]);
(%o6) A
5
(%i7) %;
(%o7) 36
(%i8) L : [a, b, c, d, e];
(%o8) [a, b, c, d, e]
(%i9) arraymake (L, [n]);
(%o9) L
n
(%i10) %, n = 3;
(%o10) c
(%i11) A2 : make_array (fixnum, 10);
(%o11) {Array: #(0 0 0 0 0 0 0 0 0 0)}
(%i12) fillarray (A2, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
(%o12) {Array: #(1 2 3 4 5 6 7 8 9 10)}
(%i13) arraymake (A2, [8]);
(%o13) A2
8
(%i14) %;
(%o14) 9(%o1) true (%i2)
arraymake (a, [1]);
arraymake (a, [k]);
arraymake (a, [i, j,...
arraymake (a, [1]);
arraymake (a, [k]);
arraymake (a, [i, j,...