File: lommels1.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-- 228 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
# Lommel function s_(u,v)(x) on the real line for a few different u,v
f1 = lambda x: lommels1(-1,2.5,x)
f2 = lambda x: lommels1(0,0.5,x)
f3 = lambda x: lommels1(0,6,x)
f4 = lambda x: lommels1(0.5,3,x)
plot([f1,f2,f3,f4], [0,20])