MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

rhs of SetDelayed


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



  • Prev by Date: Mathematica Assignments
  • Next by Date: Re: ArcSin
  • Previous by thread: Mathematica Assignments
  • Next by thread: Re: rhs of SetDelayed