File: hankel2.py

package info (click to toggle)
mpmath 0.19-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,324 kB
  • ctags: 2,850
  • sloc: python: 44,052; makefile: 44; sh: 4
file content (6 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
# Hankel function H2_n(x) on the real line for n=0,1,2,3
h0 = lambda x: hankel2(0,x)
h1 = lambda x: hankel2(1,x)
h2 = lambda x: hankel2(2,x)
h3 = lambda x: hankel2(3,x)
plot([h0,h1,h2,h3],[0,6],[-1,2])