This repository was archived by the owner on Jan 30, 2023. It is now read-only.
File tree 2 files changed +1
-27
lines changed
2 files changed +1
-27
lines changed Original file line number Diff line number Diff line change 53
53
from sage .rings .integer_ring import ZZ
54
54
from sage .rings .real_double import RDF
55
55
from sage .rings .rational import Rational as R
56
+ from sage .functions .special import meval
56
57
from sage .calculus .functional import derivative
57
58
58
59
Original file line number Diff line number Diff line change @@ -197,33 +197,6 @@ def __init__(self, kind):
197
197
198
198
def _eval_ (self , x , m ):
199
199
r"""
200
- EXAMPLES::
201
-
202
- sage: jacobi_sn(1,1)
203
- tanh(1)
204
- sage: jacobi_sn(1/2,1/2)
205
- jacobi_sn(1/2, 1/2)
206
- sage: jacobi_sn(1/2,1/2).n()
207
- 0.470750473655657
208
- sage: jacobi_sn(1/2,1/2).n(20)
209
- 0.47075
210
- sage: jacobi_sn(1/2, 1/2).n(150)
211
- 0.47075047365565728333239188829218118473995953
212
- sage: jacobi_sn._evalf_(1/2, 1/2, parent=complex)
213
- (0.4707504736556573+0j)
214
- sage: jacobi_sn._evalf_(1/2, 1/2, parent=RDF)
215
- 0.4707504736556573
216
- sage: jacobi_sn._evalf_(1/2, 1/2, parent=CDF)
217
- 0.4707504736556573
218
- sage: jacobi_sn(1, I).n()
219
- 0.848379519751901 - 0.0742924572771414*I
220
- sage: jacobi_sn._evalf_(1/2, I, parent=CDF)
221
- 0.4793467849299404 - 0.017393558099789395*I
222
- sage: jacobi_sn._evalf_(1/2, I, parent=RR) # known bug
223
- Traceback (most recent call last):
224
- ...
225
- TypeError: unable to convert...
226
-
227
200
TESTS:
228
201
229
202
Check that the simplifications are correct::
You can’t perform that action at this time.
0 commit comments