Copyright | (c) Masahiro Sakai 2013 |
---|---|
License | BSD-style |
Maintainer | masahiro.sakai@gmail.com |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
ToySolver.Data.AlgebraicNumber.Complex
Description
Algebraic Numbers
Rectangular form
Complex numbers are an algebraic type.
For a complex number z
,
is a number with the magnitude of abs
zz
,
but oriented in the positive real direction, whereas
has the phase of signum
zz
, but unit magnitude.
Properties
minimalPolynomial :: AComplex -> UPolynomial Rational Source #
The polynomial of which the algebraic number is root.