Re: Series and passing a function a changing number of variables
- To: mathgroup at smc.vnet.net
- Subject: [mg106810] Re: Series and passing a function a changing number of variables
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Sun, 24 Jan 2010 05:39:32 -0500 (EST)
On 1/23/10 at 7:29 AM, Ignacio.Plazeta at speednet.es (Ignacio Plazeta)
wrote:
>-- 1 -----------------------------------------------
>This command works fine:
>Series[ Exp[ x + 2 y^x ] , {x, 0, 2} , {y, 0, 2} ]
>this one doesn't:
>Series[ Exp[ x + 2 y^x ] , {{x, 0, 2}, {y, 0, 2}} ]
To convert the list to a sequence of arguments use Sequence.
That is
Series[Exp[x + 2 y^x], Sequence @@ {{x, 0, 2}, {y, 0, 2}}]
will do what you want