1.2.3-SNAPSHOT permalink Arrow_down_16x16
  • (log2 A)
Returns the log base 2 of the elements in the given matrix, sequence or number.
Equivalent to R's log2 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:527 top

(defn log2
  "Returns the log base 2 of the elements in the given matrix, sequence or number.
   Equivalent to R's log2 function."
   ([A] (transform-with A #(/ (Math/log %) (Math/log 2)) log2)))
Vars in incanter.core/log2: / defn
Used in 0 other vars

Comments top

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