QuadraticInteger
A name from the enumeratio catalogue with no kernel of its own yet; this page carries its crosswalk only.
The element of QuadraticIntegers(d), held as a value.
QuadraticInteger(d, x, y), with when , else Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer | tuple<integer, integer, integer>, integer?, integer?) -> quadratic_integer | number-theory | always |
Details
- The carrier names its own ring, so a head reads it without
Over:IsPrime(QuadraticInteger(-5, 1, 1))asks about in - is the ring's own generator, so are always integers:
QuadraticInteger(-3, 0, 1)is QuadraticInteger(-1, x, y)is GaussianInteger(x, y)
Examples
Basic #
About
| Examples | 4 |
|---|
See also: QuadraticIntegers, GaussianInteger