1.2.3-SNAPSHOT permalink Arrow_down_16x16
  • (atan2 & args)
Returns the atan2 of the elements in the given matrices, sequences or numbers.
Equivalent to R's atan2 function.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source incanter/core.clj:502 top

(defn atan2
  "Returns the atan2 of the elements in the given matrices, sequences or numbers.
   Equivalent to R's atan2 function."
   ([& args] (reduce (fn [A B] (combine-with A B #(Math/atan2 %1 %2)
                                    cern.jet.math.tdouble.DoubleFunctions/atan2)) args)))
Vars in incanter.core/atan2: defn fn reduce
Used in 0 other vars

Comments top

No comments for atan2. Log in to add a comment.