File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ cdef class Lfunction:
251
251
"""
252
252
return self ._compute_rank()
253
253
254
- def __N (self , T ):
254
+ def _N (self , T ):
255
255
"""
256
256
Compute the number of zeroes upto height `T` using the formula for
257
257
`N(T)` with the error of `S(T)`. Please do not use this. It is only
@@ -262,7 +262,7 @@ cdef class Lfunction:
262
262
sage: from sage.libs.lcalc.lcalc_Lfunction import *
263
263
sage: chi = DirichletGroup(5)[2] #This is a quadratic character
264
264
sage: L=Lfunction_from_character(chi, type="complex")
265
- sage: L.__N (10) # abs tol 1e-8
265
+ sage: L._N (10) # abs tol 1e-8
266
266
4.0
267
267
"""
268
268
cdef RealNumber real_T= RRR(T)
Original file line number Diff line number Diff line change @@ -4300,7 +4300,7 @@ cdef class RealNumber(sage.structure.element.RingElement):
4300
4300
if (< RealField_class> self ._parent)._prec > 10 * SIG_PREC_THRESHOLD: sig_off()
4301
4301
return x
4302
4302
4303
- def __pow (self , RealNumber exponent ):
4303
+ def _pow (self , RealNumber exponent ):
4304
4304
"""
4305
4305
Compute ``self`` raised to the power of exponent, rounded in the
4306
4306
direction specified by the parent of ``self``.
@@ -4309,7 +4309,7 @@ cdef class RealNumber(sage.structure.element.RingElement):
4309
4309
4310
4310
sage: R = RealField(30)
4311
4311
sage: a = R('1.23456')
4312
- sage: a.__pow (20.0)
4312
+ sage: a._pow (20.0)
4313
4313
67.646297
4314
4314
"""
4315
4315
cdef RealNumber x
You can’t perform that action at this time.
0 commit comments