rhs of SetDelayed
- To: mathgroup at christensen.cybernetics.net
- Subject: [mg1584] rhs of SetDelayed
- From: c7081naa at c1.cc.univie.ac.at (Michael Probst)
- Date: Sat, 1 Jul 1995 04:18:11 -0400
- Organization: Vienna University, Austria
Hi ! I have the following question: I have to define a few functions that take the same arguments. Therefore I don't want to write the list of agguments repeatedly and use a variable instead. The following approach: lhsArg={a1_,a2_,a3_,a4_}; rhrArg={a1,a2,a3,a4}; f[lhsArg]:=g[rhsArg]; does not work. The left side is o.k. but since rhsArg is not converted to {a1,a2,a3,a4} the right side is not. How does one do this ? Thanks a lot ! Michael michael.probst at uibk.ac.at