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

Fresnel Integral Functions #938

Merged
merged 37 commits into from
May 12, 2012
Merged

Fresnel Integral Functions #938

merged 37 commits into from
May 12, 2012

Commits on May 12, 2012

  1. First implementation of Fresnel integrals

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    fb2b533 View commit details
    Browse the repository at this point in the history
  2. Complex expansion for Fresnel integrals

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    7d75819 View commit details
    Browse the repository at this point in the history
  3. Asymptotic series expansions for Fresnel integrals

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    b5d6444 View commit details
    Browse the repository at this point in the history
  4. Leading term expansion for Fresnel integrals

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    9dc7c0f View commit details
    Browse the repository at this point in the history
  5. Numerical evaluation for Fresnel integrals using mpmath

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    ab67ab7 View commit details
    Browse the repository at this point in the history
  6. Series expansions for Fresnel integrals

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    e5f83d9 View commit details
    Browse the repository at this point in the history
  7. Documentation and examples for Fresnel integrals

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    bc3fb2d View commit details
    Browse the repository at this point in the history
  8. Better asymptotic series expansions for Fresnel integrals

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    e4953d0 View commit details
    Browse the repository at this point in the history
  9. Examples in an IPython notebook

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    75c3ed3 View commit details
    Browse the repository at this point in the history
  10. Fixed numerical evaluation of Fresnel integrals.

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    5f909a4 View commit details
    Browse the repository at this point in the history
  11. Updated examples in an IPython notebook

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    8c5a8e2 View commit details
    Browse the repository at this point in the history
  12. Renamed Fresnel integrals to 'fresnels' and 'fresnelc'

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    379873a View commit details
    Browse the repository at this point in the history
  13. Add testcases for the Fresnel integrals

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    5080d5a View commit details
    Browse the repository at this point in the history
  14. Adding Fresnel integrals to the hyperexpand Tables

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    a4e7985 View commit details
    Browse the repository at this point in the history
  15. Declared the Fresnel integrals to be unbranched.

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    53c03b1 View commit details
    Browse the repository at this point in the history
  16. Apply comments from pull request review

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    cd79acc View commit details
    Browse the repository at this point in the history
  17. Added Meijer G representation of Fresnel Integrals

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    e3b854a View commit details
    Browse the repository at this point in the history
  18. Caching 'taylor_term' functions

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    19685ac View commit details
    Browse the repository at this point in the history
  19. Improved Taylor terms of Fresnel integrals

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    86741fe View commit details
    Browse the repository at this point in the history
  20. Test integrals defining Fresnel functions

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    e002dd8 View commit details
    Browse the repository at this point in the history
  21. Addressing latest comments on code

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    0cf95a1 View commit details
    Browse the repository at this point in the history
  22. Rules to rewrite fresnel{s,c} functions in terms of 1F2 hypergeometri…

    …c functions
    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    b9d4933 View commit details
    Browse the repository at this point in the history
  23. Fixed hypergeometric formula for Fresnel functions

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    694d99d View commit details
    Browse the repository at this point in the history
  24. Fix test_args test failures

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    d26024f View commit details
    Browse the repository at this point in the history
  25. Fix integration of Fresnel functions

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    a44422f View commit details
    Browse the repository at this point in the history
  26. Add tests for Fresnel integration

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    92f48ca View commit details
    Browse the repository at this point in the history
  27. A different patch for the gamma pole issue (by ness)

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    f3d3bc6 View commit details
    Browse the repository at this point in the history
  28. Tests for the gamma pole patch

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    2f579d2 View commit details
    Browse the repository at this point in the history
  29. A new rule in hyperexpand to get nice results for the Laplace transfo…

    …rm of Fresnel functions
    
    Examples without this formula:
    
      laplace_transform(fresnels(t), t, s, noconds=True)
    
       ⎛         ⎛         │    4 ⎞        ⎛  2⎞        ⎛  2⎞⎞
       ⎜     ┌─  ⎜   1     │  -s  ⎟        ⎜ s ⎟        ⎜ s ⎟⎟
      -⎜2⋅s⋅ ├─  ⎜         │ ─────⎟ - π⋅sin⎜───⎟ - π⋅cos⎜───⎟⎟
       ⎜    1╵ 2 ⎜3/4, 5/4 │     2⎟        ⎝2⋅π⎠        ⎝2⋅π⎠⎟
       ⎝         ⎝         │ 16⋅π ⎠                          ⎠
      ────────────────────────────────────────────────────────
                               2⋅π⋅s
    
      laplace_transform(fresnelc(t), t, s, noconds=True)
    
                ⎛         │    4 ⎞           ⎛  2⎞           ⎛  2⎞
         3  ┌─  ⎜   1     │  -s  ⎟      2    ⎜ s ⎟      2    ⎜ s ⎟
      2⋅s ⋅ ├─  ⎜         │ ─────⎟ - 3⋅π ⋅sin⎜───⎟ + 3⋅π ⋅cos⎜───⎟
           1╵ 2 ⎜5/4, 7/4 │     2⎟           ⎝2⋅π⎠           ⎝2⋅π⎠
                ⎝         │ 16⋅π ⎠
      ────────────────────────────────────────────────────────────
                                    2
                                 6⋅π ⋅s
    
    And with this formula we can expand the 1F2 above:
    
      laplace_transform(fresnels(t), t, s, noconds=True)
    
           ⎛  2⎞                  ⎛  2⎞      ⎛  2⎞                  ⎛  2⎞
           ⎜ s ⎟         ⎛s⎞      ⎜ s ⎟      ⎜ s ⎟         ⎛s⎞      ⎜ s ⎟
        sin⎜───⎟⋅fresnels⎜─⎟   sin⎜───⎟   cos⎜───⎟⋅fresnelc⎜─⎟   cos⎜───⎟
           ⎝2⋅π⎠         ⎝π⎠      ⎝2⋅π⎠      ⎝2⋅π⎠         ⎝π⎠      ⎝2⋅π⎠
      - ──────────────────── + ──────── - ──────────────────── + ────────
                 s               2⋅s               s               2⋅s
    
      laplace_transform(fresnelc(t), t, s, noconds=True)
    
         ⎛  2⎞                  ⎛  2⎞      ⎛  2⎞                  ⎛  2⎞
         ⎜ s ⎟         ⎛s⎞      ⎜ s ⎟      ⎜ s ⎟         ⎛s⎞      ⎜ s ⎟
      sin⎜───⎟⋅fresnelc⎜─⎟   sin⎜───⎟   cos⎜───⎟⋅fresnels⎜─⎟   cos⎜───⎟
         ⎝2⋅π⎠         ⎝π⎠      ⎝2⋅π⎠      ⎝2⋅π⎠         ⎝π⎠      ⎝2⋅π⎠
      ──────────────────── - ──────── - ──────────────────── + ────────
               s               2⋅s               s               2⋅s
    
    This result is nice and correct.
    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    14ddbc1 View commit details
    Browse the repository at this point in the history
  30. Adapt tests to new Laplace transformations of Fresnels

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    2a47c0b View commit details
    Browse the repository at this point in the history
  31. Fix a remaining test failure

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    748d08b View commit details
    Browse the repository at this point in the history
  32. Rewrite Fresnel functions in terms of Meijer G

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    e370757 View commit details
    Browse the repository at this point in the history
  33. Tests for Fresnel rewrites

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    248365e View commit details
    Browse the repository at this point in the history
  34. Fresnel function latex printing

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    b3ba93f View commit details
    Browse the repository at this point in the history
  35. Add integral example to Fresnel docstring

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    62bd77c View commit details
    Browse the repository at this point in the history
  36. Addressed points from review discussion

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    008560c View commit details
    Browse the repository at this point in the history
  37. Manually tuned rule for Laplace transform of Fresnels

    Raoul Bourquin committed May 12, 2012
    Configuration menu
    Copy the full SHA
    56c6af0 View commit details
    Browse the repository at this point in the history