Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Expand a function in Legendre

  1. May 15, 2013 #1
    I get a series of Legendre expansion coefficients for a function. Then I compute the value of the function via expansion coefficients. As I want to whether the code is right or not, finally I expand the function in Legendre again. the result is almost same as before, but some coefficients is negative which are not exist before. I want to know why ?
    The code are all fortran.
    Thanks a lot!
     
  2. jcsd
  3. May 15, 2013 #2

    DrClaude

    User Avatar

    Staff: Mentor

    You'll have to show the code!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook