def test(self): """ u = [e, pi, sqrt(2)] time Tuples(u,3).cardinality() """ from sage.all_cmdline import Integer, sqrt, e, pi, Tuples for _ in xrange(self.rounds): _sage_const_3 = Integer(3); _sage_const_2 = Integer(2) u = [e, pi, sqrt(_sage_const_2 )] Tuples(u,_sage_const_3 ).cardinality()
def test(self): """ u = [e, pi, sqrt(2)] time Tuples(u,3).cardinality() """ from sage.all_cmdline import Integer, sqrt, e, pi, Tuples for _ in xrange(self.rounds): _sage_const_3 = Integer(3) _sage_const_2 = Integer(2) u = [e, pi, sqrt(_sage_const_2)] Tuples(u, _sage_const_3).cardinality()
def f(z): return sqrt(_sage_const_1 /_sage_const_3 )*z**_sage_const_2 + i/_sage_const_3
def calibrate(self): from sage.all_cmdline import Integer, sqrt, e, pi, Tuples for _ in xrange(self.rounds): _sage_const_3 = Integer(3); _sage_const_2 = Integer(2) u = [e, pi, sqrt(_sage_const_2 )]
def f(z): return sqrt(_sage_const_1 / _sage_const_3 ) * z**_sage_const_2 + i / _sage_const_3
def calibrate(self): from sage.all_cmdline import Integer, sqrt, e, pi, Tuples for _ in xrange(self.rounds): _sage_const_3 = Integer(3) _sage_const_2 = Integer(2) u = [e, pi, sqrt(_sage_const_2)]