1.2.3-SNAPSHOT Arrow_down_16x16
  • (pow & args)
This is an element-by-element exponent function, raising the first argument
by the exponents in the remaining arguments. Equivalent to R's ^ operator.

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:496 top

(defn pow
  " This is an element-by-element exponent function, raising the first argument
    by the exponents in the remaining arguments. Equivalent to R's ^ operator."
   ([& args] (reduce (fn [A B] (combine-with A B #(Math/pow %1 %2) pow)) args)))
Vars in incanter.core/pow: defn fn reduce
Used in 0 other vars

Comments top

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