A simple implementation of complex numbers. The real/imaginary components can be anything that clojure's core arithmetic functions handle.
A simple implementation of complex numbers. The real/imaginary components can be anything that clojure's core arithmetic functions handle.
(abs-squared z)
Returns the square of the absolute value of the argument.
Returns the square of the absolute value of the argument.
(separation z1 z2)
Returns a double representing the absolute value of the difference between the two given numbers.
Returns a double representing the absolute value of the difference between the two given numbers.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close