You're viewing version 1.2.0 of float-array. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

float-array

clojure.core

  • (float-array size-or-seq)
  • (float-array size init-val-or-seq)
Creates an array of floats

1 Example top

  • user=> (float-array [1 2 3])
    #<float[] [F@4d8dfa76>
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:4136 top

(defn float-array
  "Creates an array of floats"
  {:inline (fn [& args] `(. clojure.lang.Numbers float_array ~@args))
   :inline-arities #{1 2}
   :added "1.0"}
  ([size-or-seq] (. clojure.lang.Numbers float_array size-or-seq))
  ([size init-val-or-seq] (. clojure.lang.Numbers float_array size init-val-or-seq)))
Vars in clojure.core/float-array: defn
Used in 0 other vars

Comments top

No comments for float-array. Log in to add a comment.