1.3.0 permalink Arrow_down_16x16



  • (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:4594 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:
Used in 0 other vars

Comments top

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