I have seen that there are two similar functions to create lists in maxima: create_list()
and makelist()
. In both cases, the arguments can be
(<an expression>, <a variable>, <the initial value>, <the final value>, < the step>)
or(<an expression>, <a variable>, <a list of values for the variable>)
.
What is the difference between these two functions? I have tried a couple of examples and they seem to work in the same way:
makelist(i^i,i,1,3);
-> [1,4,27]
create_list(i^i,i,1,3);
-> [1,4,27]
makelist(i^i,i,[1,2,3]);
-> [1,4,27]
create_list(i^i,i,[1,2,3]);
-> [1,4,27]