Subject: Calling a function with list of arguments
From: Neilen Marais
Date: Thu, 07 Dec 2006 19:15:39 +0200
Hi
Say I have a function defined as:
fun(x,y,z):= ...
but I have the values of x,y,z in a list xyz == [x,y,z]
how can I call fun(x,y,z) using xyz, short of going fun(xyz[1], xyz[2],
xyz[3])? In Python I would call it as fun(*xyz). Does Maxima have an
equivalent representation?
Thanks
Neilen
--
you know its kind of tragic
we live in the new world
but we've lost the magic
-- Battery 9 (www.battery9.co.za)