This is a much better solution.   It's shorter and is easier to read.
Thanks for tip!

Bill

On Jan 10, 11:49 pm, Sunil S Nandihalli <sunil.nandiha...@gmail.com>
wrote:
> Hi Bill ,
> the following is one way of doing it ..
>
> (into-array (map float-array  [[1.0 1.0 2.0 2.0] [3.0 2.2 4.0 0.0]]))
>
> Sunil.
>
> On Mon, Jan 10, 2011 at 8:32 PM, WoodHacker <ramsa...@comcast.net> wrote:
> > Hi,
>
> > Can anybody explain to me how to create a multidimensional array of
> > floats such as:
>
> >   [[1.0 1.0 2.0 2.0] [3.0 2.2 4.0 0.0]]
>
> > Anything I try gives me errors.
>
> > Bill
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Clojure" group.
> > To post to this group, send email to clojure@googlegroups.com
> > Note that posts from new members are moderated - please be patient with
> > your first post.
> > To unsubscribe from this group, send email to
> > clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to