Question: multiple var function

Hello,

I'd like to create a multiple variables function with a procedure, the problem is that the number of vars depends on the parameter n :

f:=(x1, x2, ..., xn) -> ...

how to define this function ?

 

I ve tried to do this, but i doesn't work :

var:=seq(d[i],i=1..n)
f:=(var)-> ...

even with a array instead of the seq, it doesn't work ... i'm desperate

 

thanks !

Please Wait...