[{"name":"ComplexNumbers","comment":" A module for complex numbers\n\n\n# Types\n\n@docs Real\n@docs Imaginary\n@docs ComplexNumberCartesian\n\n\n# Arithmetic operations on complex numbers\n\n@docs i\n@docs zero\n@docs one\n@docs realPart\n@docs imaginaryPart\n@docs add\n@docs sum\n@docs multiply\n@docs product\n@docs subtract\n@docs divide\n@docs modulus\n@docs conjugate\n@docs convertFromCartesianToPolar\n@docs convertFromPolarToCartesian\n@docs mapCartesian\n@docs pureCartesian\n@docs applyCartesian\n@docs bindCartesian\n@docs equal\n@docs power\n@docs complexField\n\n@docs parseComplexNumber\n@docs read\n@docs print\n\n","unions":[{"name":"ComplexNumberCartesian","comment":" Cartesian representation of a complex number\n","args":["a"],"cases":[["ComplexNumberCartesian",["ComplexNumbers.Real a","ComplexNumbers.Imaginary a"]]]},{"name":"Imaginary","comment":" Imaginary portion\n","args":["i"],"cases":[["Imaginary",["i"]]]},{"name":"Real","comment":" Real portion\n","args":["r"],"cases":[["Real",["r"]]]}],"aliases":[],"values":[{"name":"add","comment":" Add two complex numbers together\n","type":"ComplexNumbers.ComplexNumberCartesian number -> ComplexNumbers.ComplexNumberCartesian number -> ComplexNumbers.ComplexNumberCartesian number"},{"name":"applyCartesian","comment":" Apply for Complex Number Cartesian representaiton applicative\n","type":"ComplexNumbers.ComplexNumberCartesian (a -> b) -> ComplexNumbers.ComplexNumberCartesian a -> ComplexNumbers.ComplexNumberCartesian b"},{"name":"bindCartesian","comment":" Monadic bind for Complex Number Cartesian representaiton\n","type":"ComplexNumbers.ComplexNumberCartesian a -> (a -> ComplexNumbers.ComplexNumberCartesian b) -> ComplexNumbers.ComplexNumberCartesian b"},{"name":"complexField","comment":" Field for Complex numbers\n","type":"Field.Field (ComplexNumbers.ComplexNumberCartesian Basics.Float)"},{"name":"conjugate","comment":" Calculate the conjugate of a complex number\n","type":"ComplexNumbers.ComplexNumberCartesian number -> ComplexNumbers.ComplexNumberCartesian number"},{"name":"convertFromCartesianToPolar","comment":" Convert from the Cartesian representation of a complex number to the polar representation\n","type":"ComplexNumbers.ComplexNumberCartesian Basics.Float -> Internal.ComplexNumbers.ComplexNumberPolar Basics.Float"},{"name":"convertFromPolarToCartesian","comment":" Convert from the polar representation of a complex number to the Cartesian representation\n","type":"Internal.ComplexNumbers.ComplexNumberPolar Basics.Float -> ComplexNumbers.ComplexNumberCartesian Basics.Float"},{"name":"divide","comment":" Divide two complex numbers together\n","type":"ComplexNumbers.ComplexNumberCartesian Basics.Float -> ComplexNumbers.ComplexNumberCartesian Basics.Float -> ComplexNumbers.ComplexNumberCartesian Basics.Float"},{"name":"equal","comment":" Compare two ComplexNumbers for equality\n","type":"ComplexNumbers.ComplexNumberCartesian Basics.Float -> ComplexNumbers.ComplexNumberCartesian Basics.Float -> Basics.Bool"},{"name":"i","comment":" The number i\n","type":"ComplexNumbers.ComplexNumberCartesian number"},{"name":"imaginaryPart","comment":" Extracts the imaginary part of a complex number\n","type":"ComplexNumbers.ComplexNumberCartesian a -> a"},{"name":"mapCartesian","comment":" Map over a complex number\n","type":"(a -> b) -> ComplexNumbers.ComplexNumberCartesian a -> ComplexNumbers.ComplexNumberCartesian b"},{"name":"modulus","comment":" Calculate the modulus of a complex number\n","type":"ComplexNumbers.ComplexNumberCartesian Basics.Float -> Basics.Float"},{"name":"multiply","comment":" Multiply two complex numbers together\n","type":"ComplexNumbers.ComplexNumberCartesian Basics.Float -> ComplexNumbers.ComplexNumberCartesian Basics.Float -> ComplexNumbers.ComplexNumberCartesian Basics.Float"},{"name":"one","comment":" one\n","type":"ComplexNumbers.ComplexNumberCartesian number"},{"name":"parseComplexNumber","comment":" Parse ComplexNumber\n","type":"Parser.Parser (ComplexNumbers.ComplexNumberCartesian Basics.Float)"},{"name":"power","comment":" Calculate a complex number raised to a power\n","type":"Basics.Float -> ComplexNumbers.ComplexNumberCartesian Basics.Float -> ComplexNumbers.ComplexNumberCartesian Basics.Float"},{"name":"print","comment":" Print ComplexNumber\n","type":"ComplexNumbers.ComplexNumberCartesian Basics.Float -> String.String"},{"name":"product","comment":" Monoidally multiply two complex numbers together\n","type":"Typeclasses.Classes.Monoid.Monoid (ComplexNumbers.ComplexNumberCartesian Basics.Float)"},{"name":"pureCartesian","comment":" Place a value in the minimal Complex Number Cartesian context\n","type":"a -> ComplexNumbers.ComplexNumberCartesian a"},{"name":"read","comment":" Read ComplexNumber\n","type":"String.String -> Result.Result (List.List Parser.DeadEnd) (ComplexNumbers.ComplexNumberCartesian Basics.Float)"},{"name":"realPart","comment":" Extracts the real part of a complex number\n","type":"ComplexNumbers.ComplexNumberCartesian a -> a"},{"name":"subtract","comment":" Subtract two complex numbers together\n","type":"ComplexNumbers.ComplexNumberCartesian number -> ComplexNumbers.ComplexNumberCartesian number -> ComplexNumbers.ComplexNumberCartesian number"},{"name":"sum","comment":" Monoidally add two complex numbers together\n","type":"Typeclasses.Classes.Monoid.Monoid (ComplexNumbers.ComplexNumberCartesian number)"},{"name":"zero","comment":" zero\n","type":"ComplexNumbers.ComplexNumberCartesian number"}],"binops":[]}]