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

(defn sq
  "Returns the square of the elements in the given matrix, sequence or number.
   Equivalent to R's sq function."
   ([A] (mult A A)))
Vars in incanter.core/sq: defn
Used in 0 other vars

Comments top

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