Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: LegendreP error (bug?) in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58922] Re: LegendreP error (bug?) in Mathematica
  • From: "symbio" <symbio at has.com>
  • Date: Sun, 24 Jul 2005 01:21:45 -0400 (EDT)
  • References: <dbq2o2$713$1@smc.vnet.net> <dbt3bk$sib$1@smc.vnet.net>
  • Reply-to: "symbio" <symbio at sha.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Also,
In[51]:=
LegendreP[1, 1] - LegendreP[-1, 1] gives 0, when it should give 2. Becuase 
LegendreP[-1, 1] should equal to -1, not +1.  check it out in any math book!



"sashap" <pavlyk at gmail.com> wrote in message 
news:dbt3bk$sib$1 at smc.vnet.net...
> No, it is not a bug and Mathematica returns correct result:
>
> http://functions.wolfram.com/HypergeometricFunctions/LegendrePGeneral/04/02/01/0002/
>
> LegendreP[-n, z] == LegendreP[n- 1, z]
>
> LegendreP[-1,z] == LegendreP[0,z] == 1
>
> Your sum does not define LegendreP.
> 


  • Prev by Date: Re: Empirical CDF
  • Next by Date: Re: simple question about random
  • Previous by thread: Re: LegendreP error (bug?) in Mathematica
  • Next by thread: Re: LegendreP error (bug?) in Mathematica