Beispiel #1
0
 def test(self):
     from sage.all_cmdline import Integer, ellipsis_range, pi
     for _ in xrange(self.rounds):
         _sage_const_1 = Integer(1)
         _sage_const_10 = Integer(40000)
         v = (ellipsis_range(-pi, -pi + _sage_const_1 / _sage_const_10,
                             Ellipsis, pi))
Beispiel #2
0
 def test(self):
     from sage.all_cmdline import Integer, random, ellipsis_range, I
     for _ in xrange(self.rounds):
         _sage_const_0 = Integer(0)
         _sage_const_1000 = Integer(2000)
         a = [
             random() + random() * I for w in (
                 ellipsis_range(_sage_const_0, Ellipsis, _sage_const_1000))
         ]
Beispiel #3
0
 def test(self):
     from sage.all_cmdline import Integer, random, ellipsis_range,I
     for _ in xrange(self.rounds):
         _sage_const_0 = Integer(0)
         _sage_const_1000 = Integer(2000)
         a = [random() + random()*I for w in (ellipsis_range(_sage_const_0 ,Ellipsis,_sage_const_1000 ))]
Beispiel #4
0
 def test(self):
     from sage.all_cmdline import Integer, ellipsis_range, pi 
     for _ in xrange(self.rounds):
         _sage_const_1 = Integer(1)
         _sage_const_10 = Integer(40000)
         v = (ellipsis_range(-pi,-pi+_sage_const_1 /_sage_const_10 ,Ellipsis,pi))