Skip to content

A problem on the zeros of Legendre polynomials #1

@tiandixuanhuang1

Description

@tiandixuanhuang1

Hello, Ben, your Gauss Legendre integration code is awesome, which benefited me a lot.But there is one question that bothers me. I am looking forward to your answer.

In the file gausslegendre.h, the selection of the initial iteration point of the calculateweightandroot function is very interesting, which is exactly what bothers me. why choose cos(M_PI * (step-0.25)/(mNumberOfIterations+0.5)) as the initial iteration point?

I appreciate all your help and best wishes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions