Module
Data.Complex
- Package
- purescript-complex
- Repository
- Ebmtranceboy/purescript-complex
#Cartesian Source
data Cartesian a
Complex number defined by its real and imaginary parts
Constructors
Cartesian a a
Instances
(Show a, Ord a, Semiring a, Ring a) => Show (Cartesian a)
(Eq a) => Eq (Cartesian a)
(Ring a) => Semiring (Cartesian a)
Functor Cartesian
(Ring a) => Ring (Cartesian a)
(CommutativeRing a) => CommutativeRing (Cartesian a)
(DivisionRing a) => DivisionRing (Cartesian a)
EuclideanRing (Cartesian Number)
EuclideanRing (Cartesian Int)
#magnitudeSquared Source
magnitudeSquared :: forall a. Ring a => Cartesian a -> a
Magnitude Squared
- Modules
- Data.
Complex