makegamma SciMax Toolbox makeset

SciMax Toolbox >> makelist

makelist

Maxima Function

Calling Sequence

makelist (expr, i, i_0, i_1)
makelist(expr,x,list)

Description

Constructs and returns a list, each element of which is generated from expr.

makelist (expr, i, i_0, i_1) returns a list, the j'th element of which is equal to ev (expr, i=j) for j equal to i_0 through i_1.

makelist (expr, x, list) returns a list, the j'th element of which is equal to ev (expr, x=list[j]) for j equal to 1 through length (list).

Examples:

(%i1) makelist(concat(x,i),i,1,6);
(%o1)               [x1, x2, x3, x4, x5, x6]
(%i2) makelist(x=y,y,[a,b,c]);
(%o2)                 [x = a, x = b, x = c]
makegamma SciMax Toolbox makeset