@@ -455,8 +455,8 @@ def __init__(self, name, nargs=2, latex_name=None, conversions=None):
455
455
except KeyError :
456
456
pass
457
457
super ().__init__ (name = name , nargs = nargs ,
458
- latex_name = latex_name ,
459
- conversions = conversions )
458
+ latex_name = latex_name ,
459
+ conversions = conversions )
460
460
461
461
def eval_formula (self , * args ):
462
462
"""
@@ -1376,9 +1376,9 @@ def __init__(self):
1376
1376
-29113619535/131072*log(-(x + 1)/(x - 1))
1377
1377
"""
1378
1378
BuiltinFunction .__init__ (self , "legendre_Q" , nargs = 2 , latex_name = r"Q" ,
1379
- conversions = {'maxima' : 'legendre_q' ,
1380
- 'mathematica' : 'LegendreQ' ,
1381
- 'maple' : 'LegendreQ' })
1379
+ conversions = {'maxima' : 'legendre_q' ,
1380
+ 'mathematica' : 'LegendreQ' ,
1381
+ 'maple' : 'LegendreQ' })
1382
1382
1383
1383
def _eval_ (self , n , x , * args , ** kwds ):
1384
1384
r"""
@@ -1883,9 +1883,6 @@ def eval_gen_poly(self, n, m, arg, **kwds):
1883
1883
ex2 = sum (b * arg ** a for a , b in enumerate (p ))
1884
1884
return (- 1 )** (m + n )* ex1 * ex2
1885
1885
1886
- from sage .misc .superseded import deprecated_function_alias
1887
- eval_poly = deprecated_function_alias (25034 , eval_gen_poly )
1888
-
1889
1886
def _derivative_ (self , n , m , x , * args , ** kwds ):
1890
1887
"""
1891
1888
Return the derivative of ``gen_legendre_P(n,m,x)``.
@@ -2121,11 +2118,12 @@ def __init__(self):
2121
2118
32 x - 160 x + 120 x
2122
2119
"""
2123
2120
GinacFunction .__init__ (self , "hermite" , nargs = 2 , latex_name = r"H" ,
2124
- conversions = {'maxima' : 'hermite' ,
2125
- 'mathematica' : 'HermiteH' ,
2126
- 'maple' : 'HermiteH' ,
2127
- 'fricas' : 'hermiteH' ,
2128
- 'sympy' : 'hermite' }, preserved_arg = 2 )
2121
+ conversions = {'maxima' : 'hermite' ,
2122
+ 'mathematica' : 'HermiteH' ,
2123
+ 'maple' : 'HermiteH' ,
2124
+ 'fricas' : 'hermiteH' ,
2125
+ 'sympy' : 'hermite' },
2126
+ preserved_arg = 2 )
2129
2127
2130
2128
2131
2129
hermite = Func_hermite ()
@@ -2179,11 +2177,11 @@ def __init__(self):
2179
2177
2
2180
2178
"""
2181
2179
OrthogonalFunction .__init__ (self , "jacobi_P" , nargs = 4 , latex_name = r"P" ,
2182
- conversions = {'maxima' : 'jacobi_p' ,
2183
- 'mathematica' : 'JacobiP' ,
2184
- 'maple' : 'JacobiP' ,
2185
- 'fricas' : 'jacobiP' ,
2186
- 'sympy' : 'jacobi' })
2180
+ conversions = {'maxima' : 'jacobi_p' ,
2181
+ 'mathematica' : 'JacobiP' ,
2182
+ 'maple' : 'JacobiP' ,
2183
+ 'fricas' : 'jacobiP' ,
2184
+ 'sympy' : 'jacobi' })
2187
2185
2188
2186
def _eval_ (self , n , a , b , x ):
2189
2187
"""
@@ -2420,11 +2418,11 @@ def __init__(self):
2420
2418
laguerre
2421
2419
"""
2422
2420
OrthogonalFunction .__init__ (self , "laguerre" , nargs = 2 , latex_name = r"L" ,
2423
- conversions = {'maxima' : 'laguerre' ,
2424
- 'mathematica' : 'LaguerreL' ,
2425
- # 'fricas': 'laguerreL', 3 arguments ?
2426
- 'maple' : 'LaguerreL' ,
2427
- 'sympy' : 'laguerre' })
2421
+ conversions = {'maxima' : 'laguerre' ,
2422
+ 'mathematica' : 'LaguerreL' ,
2423
+ # 'fricas': 'laguerreL', 3 arguments ?
2424
+ 'maple' : 'LaguerreL' ,
2425
+ 'sympy' : 'laguerre' })
2428
2426
2429
2427
def _eval_ (self , n , x , * args , ** kwds ):
2430
2428
r"""
0 commit comments