Extending assignment Was: Functions with any number of arguments
Subject: Extending assignment Was: Functions with any number of arguments
From: Barton Willis
Date: Fri, 23 Mar 2012 09:26:31 -0500
The function listofvars might be useful. To view the user documentation for this function,
enter ? listofvars. Also, the option variable listdummyvars might be important to you as well.
--Barton
-----maxima-bounces at math.utexas.edu wrote: -----
For functions with arbitrary numbers of arguments, try sth like this:
how_many_args(X):=(
is_end:0,
arr_if:make_array(any,1),
arr_if[0]:x[1]=1.1,
for i:1 while is_end=0 do (
?? ?S:subst(listarray(arr_if),X), ...
?