 |
GaussianIntegers
GaussianIntegers is an option for FactorInteger, PrimeQ, Factor and related functions which specifies whether factorization should be done over Gaussian integers.
With GaussianIntegers
->
False, factorization is done over the ordinary ring of integers . With GaussianIntegers
->
True, factorization is done over the ring of integers with adjoined . Example: FactorInteger[13, GaussianIntegers -> True] . The Gaussian primes used when GaussianIntegers
->
True are chosen to have both real and imaginary parts positive. The first entry in the list given by FactorInteger with GaussianIntegers
->
True may be -1 or -I. See the Mathematica book: Section 3.2.4. See also: Extension, ComplexExpand.
Further Examples
Although is prime over the integers, it factors nontrivially over the complex integers and so is not a prime in that ring.
In[1]:= 
Out[1]= 
In[2]:= 
Out[2]= 
In[3]:= 
Out[3]= 
In[4]:= 
Out[4]= 
See the Further Examples for Factor, DivisorSigma.
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | | | |
 | |
|