Integermod int64
January 8th, 2009|
|
Integermod int64
[sage-devel] Re: is_zero: msg#01401
... self.ivalue != 0) def is_unit(IntegerMod_int self): return bool(gcd_int(self.ivalue, self.__modulus.int32) == 1) @@ -1670,9 +1670,9 @@ cdef class IntegerMod_int64 ... (more...)
26.4 Elements of
IntegerMod_int stores its value in a int_fast32_t (typically an int); this is used if the modulus is less than . IntegerMod_int64 stores its value in a int_fast64_t (typically a long ... (more...)
Tags:
Elements
sage.rings.integer_mod.IntegerMod_int64
File: sage/rings/integer_mod.pyx (starting at line 2085) Elements of $\Z/n\Z$ for n small enough to be operated on in 64 bits AUTHORS: -- Robert Bradshaw (2006-09-14) (more...)
modular.math.washington.edu
lift = IntegerMod_int64(integer_mod_ring.IntegerModRing(self.__modulus.int64 * other.__modulus.int64, check_prime=False), None, empty=True) try: (more...)
Sage Notebook | Welcome
... IntegerMod_int self) cdef IntegerMod_int _new_c(self, int_fast32_t value) #cdef Element _make_new_with_parent_c(self, ParentWithBase parent) cdef class IntegerMod_int64 ... (more...)
[sage-devel] Re: is_zero: msg#01402
... return bool(self.ivalue != 0) > > def is_unit(IntegerMod_int self): > return bool(gcd_int(self.ivalue, self.__modulus.int32) == 1) > @@ -1670,9 +1670,9 @@ cdef class IntegerMod_int64 ... (more...)
26.7 Finite Fields
sage.rings.integer_mod.IntegerMod_int, sage.rings.integer_mod.IntegerMod_int64, and sage.rings.integer_mod.IntegerMod_gmp. Small extension fields of cardinality are implemented ... (more...)
sage.rings.integer_mod.IntegerMod_to_IntegerMod
... sage: [type(R(0)) for R in Rs] [, , more...)
#2187 ([with patch, with positive review] improve refman ...
I also snuck in a bugfix: IntegerMod_gmp and IntegerMod_int had an __index__ method, so that values could be used as array indices; but the method was missing from IntegerMod_int64. (more...)
Sage Notebook | Welcome
... IntegerMod_int} stores its value in a \code{int_fast32_t} (typically an \code{int}); this is used if the modulus is less than $\sqrt{2^{31}-1}$. \item \class{IntegerMod_int64 ... (more...)