Complex numbers functions.
Complex number is represented as Vec2
type (from [[clojure2d.math.vector]] namespace).
To create complex number use complex
, [[vec2]] or [[->Vec2]].
Simplified implementation based on Apache Commons Math. Functions don't check NaNs or INF values.
Complex plane (identity) looks as follows:
Complex numbers functions. Complex number is represented as `Vec2` type (from [[clojure2d.math.vector]] namespace). To create complex number use [[complex]], [[vec2]] or [[->Vec2]]. Simplified implementation based on Apache Commons Math. Functions don't check NaNs or INF values. Complex plane (identity) looks as follows: 
(complex a b)
Create complex number. Represented as Vec2
.
Create complex number. Represented as `Vec2`.
(conjugate z)
Complex conjugate. \(\bar{z}\)
Complex conjugate. \\(\bar{z}\\)
(sqrt z)
Sqrt of complex number. \(\sqrt{z}\)
Sqrt of complex number. \\(\sqrt{z}\\)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close