Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

associatedLegendre.jl #24

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Commits on Feb 27, 2017

  1. recNM3.ipynb

    Matlab doesn't calculate associated Legendre type 3 (z>1) function but does do type 2 (-1<=x<=1) approx. .0007 sec compared to average .00014sec  recNM3(n,m,z) which is a recursive implementation.
    elaineVRC committed Feb 27, 2017
    Configuration menu
    Copy the full SHA
    9e3a88c View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2017

  1. associatedLegendre.jl

    Julia file that calculates some associated Legendre functions
    elaineVRC committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    390ab12 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2017

  1. Update associatedLegendre.jl

    On line 46 changed 1 to one(x)
    On line 84 changed 1.  to one(z)
    for arbitrary precision, etc.
    elaineVRC committed Apr 1, 2017
    Configuration menu
    Copy the full SHA
    5c80503 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2017

  1. associatedLegendre.jl

    Thanks for editting and making the PR more readable; congratulations on your new position AA.  Thanks to SJ for mentoring and encouragement.  
    I can't benchmark against what does not exist: matlab, maxima, scipy.special, gsl do not have associated Legendre type 3 (z > 1).  I have used SLegendreP3 (which I derived and used a long time ago) ; similarly SLegendreP2  gives reliable results compared to scipy.special   for |x| <1 .  function BenchmarkZZLegendreP2 , shows that ZZLegendreP2  is faster than scipy.special.  ZZLegendreP3 comes from a modification of work published by Selezneva, etal. 
    If the general direction of the PR is OK; then I can extract all the test... functions to test.jl and do additional work.  All suggestions, comments,etc. are welcome.  Thank you for helping me to learn Julia scientific computing.
    elaineVRC committed May 23, 2017
    Configuration menu
    Copy the full SHA
    82a1469 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2017

  1. <

    As requested, @Btime from BenchmarkTools and @time both gave similar results in that ZZLegendreP2 is light years ahead of scipy.special.lpmv.  Accuracy of ZZLegendreP2 ( |z|<=1) against lpmv and ZZLegendreP3 (z > 1) against Fortran table is good.
    elaineVRC committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    f41bf17 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2017

  1. Update associatedLegendre.jl

    This PR is the file entitled associatedLegendre.jl.  The first part with all the comments is like a readme.  The rest is the source code and numerous tests(requested) and exploration of area near |x| ~ 1.  As requested @Btime from BenchmarkTools as well as @time gave similar results in that ZZLegendreP2 is light years ahead of scipy.special.lpmv.  Accuracy of ZZLegendreP2 (|z|=<1.) against lpmv and ZZLegendreP3 (z>1.) against Fortran is  good.
    elaineVRC committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    8362ec8 View commit details
    Browse the repository at this point in the history
  2. Update recNM3.ipynb

    delete
    elaineVRC committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    10d485f View commit details
    Browse the repository at this point in the history