File: ellipf.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 (7 lines) | stat: -rw-r--r-- 227 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
# Elliptic integral F(z,m) for some different m
f1 = lambda z: ellipf(z,-1)
f2 = lambda z: ellipf(z,-0.5)
f3 = lambda z: ellipf(z,0)
f4 = lambda z: ellipf(z,0.5)
f5 = lambda z: ellipf(z,1)
plot([f1,f2,f3,f4,f5], [0,pi], [0,4])