symbolic function with a variable list of parameters [closed]

asked 2023-11-26 18:29:27 +0200

pfeifhns gravatar image

I knw that I can define a symbolic function as fro example: f1(r, theta, phi)=function('f1')(r, theta, phi) Now I want (r,theta,phi) to be a parameter :

list_of_variables = (r,theta, phi ) f1( list_of_variables ) = function('f1')(list_of_variables).

I tried: f1( list_of_variables ) = function('f1')(list_of_variables), but this doesn't work. Any idea on what I can do? Thanks in advance

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by pfeifhns
close date 2023-11-26 18:36:54.073909

Comments

@pfeifhns : your answer does not appear in the quedtion. Could you retype it, for the benefit of future (per)users ?

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2023-11-27 09:55:47 +0200 )edit