Rank: 53339 based on 0 downloads (last 30 days) and 0 file submitted
photo

David Bergman

E-mail

Personal Profile:

Interested in Mathematical Physics, modeling and simulation


 

Watch this Author's files

 

Comments and Ratings by David Bergman
Updated File Comments Rating
27 Mar 2012 Legendre-Gauss Quadrature Weights and Nodes Computes the Legendre-Gauss weights and nodes for solving definite integrals. Author: Greg von Winckel

This is a very useful script. Thanks for sharing. I noticed that you are storing a lot of memory for items you don't need. As an example you never use the full Lp, set to zeros(N1,N2). Only the highest order is needed. If I comment out all but the last occurrence of Lp the script generates the same results. You could do the same for L(N1,N2) since you only need 3 values of k at any step in the calculation. Just a thought.

Contact us