The complex cast of an executable integer polynomial.
Equations
Instances For
Coefficients of the complex cast are the complex casts of the executable coefficients.
The complex cast preserves the executable natural degree.
The executable natural ceiling logarithm is an upper base-two logarithm.
A positive natural lies above half the power of two selected by the executable ceiling logarithm.
The real value of an exact dyadic number, through its rational value.
Equations
Instances For
The real value of zero is zero.
The real value of an integer dyadic is the corresponding integer.
The real-value map is injective.
The real-value map preserves the executable dyadic absolute value.
The real-value map preserves the executable dyadic maximum.
The real-value map preserves the executable dyadic minimum.
The executable dyadic ceiling logarithm bounds every positive dyadic by the corresponding power of two.
The power selected by the executable dyadic ceiling logarithm is less than twice the positive input.
The real value of n * 2 ^ (-prec) represented as a dyadic.
The complex value of an exact Gaussian dyadic.
Equations
- HexRootsMathlib.GaussDyadic.toComplex z = { re := HexRootsMathlib.Dyadic.toReal z.1, im := HexRootsMathlib.Dyadic.toReal z.2 }
Instances For
The real part of the complex value is the real value of the first coordinate.
The imaginary part of the complex value is the real value of the second coordinate.
Casting an integer Gaussian dyadic gives the corresponding complex integer.
The complex-value map preserves Gaussian-dyadic addition.
The complex-value map preserves Gaussian-dyadic subtraction.
The complex-value map preserves Gaussian-dyadic conjugation.
The complex-value map preserves Gaussian-dyadic multiplication.
Casting a natural multiple of a Gaussian dyadic gives scalar
multiplication in ℂ.
Casting an exact Gaussian-dyadic power gives the corresponding complex power.
The real value of the exact squared modulus is the complex squared modulus.
The complex-value map is injective.