File: ai.py

package info (click to toggle)
mpmath 1.4.0~a6-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,556 kB
  • sloc: python: 47,434; makefile: 22
file content (5 lines) | stat: -rw-r--r-- 199 bytes parent folder | download | duplicates (6)
1
2
3
4
5
# Airy function Ai(x), Ai'(x) and int_0^x Ai(t) dt on the real line
f = airyai
f_diff = lambda z: airyai(z, derivative=1)
f_int = lambda z: airyai(z, derivative=-1)
plot([f, f_diff, f_int], [-10,5])