MathGroup Archive 2011

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

Search the Archive

Series expansion question

  • To: mathgroup at
  • Subject: [mg122696] Series expansion question
  • From: Recif <recif at>
  • Date: Sun, 6 Nov 2011 05:56:39 -0500 (EST)
  • Delivered-to:

I defined a function:
gts[x_, y_] := Normal[Series[g[x, y], {x, x0, 1}, {y, y0, 1}]]

and when I use it with 'a' and 'b' undefined, I get the value I expect:
gts[a, b]
g[x0,y0] + (a-x0) g^(1,0)[x0,y0] + (b-y0) g^(0,1)[x0,y0] ...

However when I assign values to a and b:
a = x0 + z
b = y0 + z

gives me an error:
General::ivar: "x0+z is not a valid variable"


I would appreciate any help to fix this.

  • Prev by Date: Re: How the GaussianMatrix is calculated in Mathematica?
  • Next by Date: Re: Bug in FourierTransform?
  • Previous by thread: Re: How to eliminate noises? A better way perhaps.
  • Next by thread: Re: Series expansion question