MathGroup Archive 2004

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

Search the Archive

Re: Change head, with Apply?

  • To: mathgroup at
  • Subject: [mg51320] Re: Change head, with Apply?
  • From: "Peter Pein" <petsie at>
  • Date: Thu, 14 Oct 2004 06:36:20 -0400 (EDT)
  • References: <ckfsid$iv7$>
  • Sender: owner-wri-mathgroup at

I don't know, if there's a TaylorSeriesData head in version 5, but a look at
the help for SeriesData leads to the way:

  sd = Series[Exp[x], {x, 0, 2}];
  sd // FullForm
  SeriesData[x, 0, List[1, 1, Rational[1, 2]], 0, 3, 1]
  sd[[3, 1]] += R;

Peter Pein, Berlin
to write to me, start the subject with [

"Brian Christensen" <CIMICDK at> schrieb im Newsbeitrag
news:ckfsid$iv7$1 at
> I have made a function that contains Series[...], I need to add some
> ekstra to this and therefor i use Normal[Series[...]]+R. If i use
> Head[%], it shows "Plus" And i would like to change this to
> TaylorSeriesData, How do i do this? I have tried a lot, but i cant get
> anywhere. If i do not use Normal, Head will return "SeriesData", but i
> need to add the R
> How do i change the function to TaylorSeriesData?
> -Brian

  • Prev by Date: Re: Need Help: 1st order nonlinear differential equation
  • Next by Date: Re: Change head, with Apply?
  • Previous by thread: Re: Change head, with Apply?
  • Next by thread: NMinimize inconsistencies