# HG changeset patch
# User William Stein <wstein@gmail.com>
# Date 1338233475 25200
# Node ID e7ca0e32ad52c8b7cb68e0b601c7706211b233c1
# Parent e79a6bd34a6e79ce53d86b56c3feebea75d331c3
Trac #11143: Referee patch
diff --git a/sage/functions/exp_integral.py b/sage/functions/exp_integral.py
a
|
b
|
|
466 | 466 | return mpmath_utils_call(mpmath.li, z, parent=parent) |
467 | 467 | |
468 | 468 | def _derivative_(self, z, diff_param=None): |
469 | | """ |
| 469 | r""" |
470 | 470 | The derivative of `\operatorname{li}(z) is `1/log(z)`. |
471 | 471 | |
472 | 472 | EXAMPLES:: |
… |
… |
|
657 | 657 | return mpmath_utils_call(mpmath.si, z, parent=parent) |
658 | 658 | |
659 | 659 | def _derivative_(self, z, diff_param=None): |
660 | | """ |
661 | | The derivative of `\operatorname{Si}(z)` is `\sin(z)/z` if `z` is not zero. The derivative |
662 | | at `z = 0` is `1` (but this exception is not currently implimented). |
| 660 | r""" |
| 661 | The derivative of `\operatorname{Si}(z)` is `\sin(z)/z` if `z` |
| 662 | is not zero. The derivative at `z = 0` is `1` (but this |
| 663 | exception is not currently implemented). |
663 | 664 | |
664 | 665 | EXAMPLES:: |
665 | 666 | |
… |
… |
|
800 | 801 | return mpmath_utils_call(mpmath.ci, z, parent=parent) |
801 | 802 | |
802 | 803 | def _derivative_(self, z, diff_param=None): |
803 | | """ |
| 804 | r""" |
804 | 805 | The derivative of `\operatorname{Ci}(z)` is `\cos(z)/z` if `z` is not zero. |
805 | 806 | |
806 | 807 | EXAMPLES:: |
… |
… |
|
953 | 954 | return mpmath_utils_call(mpmath.shi, z, parent=parent) |
954 | 955 | |
955 | 956 | def _derivative_(self, z, diff_param=None): |
956 | | """ |
| 957 | r""" |
957 | 958 | The derivative of `\operatorname{Shi}(z)` is `\sinh(z)/z`. |
958 | 959 | |
959 | 960 | EXAMPLES:: |
… |
… |
|
1272 | 1273 | |
1273 | 1274 | E_1(x) = \int_{x}^{\infty} e^{-t}/t dt |
1274 | 1275 | |
1275 | | |
1276 | | |
1277 | 1276 | INPUT: |
1278 | 1277 | |
1279 | | |
1280 | 1278 | - ``x`` - a positive real number |
1281 | 1279 | |
1282 | 1280 | - ``n`` - (default: 0) a nonnegative integer; if |
… |
… |
|
1287 | 1285 | |
1288 | 1286 | OUTPUT: |
1289 | 1287 | |
1290 | | |
1291 | 1288 | - ``float`` - if n is 0 (the default) or |
1292 | 1289 | |
1293 | 1290 | - ``list`` - list of floats if n 0 |