Ticket #2303: 2303-scipy-bessel.patch
| File 2303-scipy-bessel.patch, 1.4 kB (added by robertwb, 5 months ago) |
|---|
-
a/sage/functions/special.py
old new 394 394 INPUT: 395 395 nu -- a real (or complex, for pari) number 396 396 z -- a real (positive) 397 algorithm - "pari" or "maxima" or "scipy"397 algorithm - "pari" or "maxima" 398 398 prec - real precision (for Pari only) 399 399 400 400 DEFINITION: … … 437 437 1.32616018371265... 438 438 sage: bessel_I(0,1,"maxima") 439 439 1.26606587775200... 440 sage: bessel_I(1,1,"scipy")441 0.565159103992...442 440 443 441 """ 444 442 if algorithm=="pari": … … 447 445 b = R(pari(nu).besseli(z)) 448 446 pari.set_real_precision(a) 449 447 return b 450 elif algorithm=="scipy": 448 elif algorithm=="scipy" and False: 449 # Broken x86-Linux box (pentium4-fc6) using gcc-4.3.1 451 450 if prec != 53: 452 451 raise ValueError, "for the scipy algorithm the precision must be 53" 453 452 import scipy.special