Somewhat unrelated, but the forum engine works fine for me:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
let unzip (el:Matrix) =


  let first = Matrix.Generic.create el.NumRows el.NumCols (fst el.[0,0])


  let second = Matrix.Generic.create el.NumRows el.NumCols (snd el.[0,0])


  for z = 0 to (el.NumRows-1) do


    for y = 0 to (el.NumCols-1) do


      first.[z,y] <- fst el.[z,y]


      second.[z,y] <- snd el.[z,y]


  first,second

By on 11/16/2009 8:20 AM ()

Yeah,

but for me it works only in IE8 with a compatibility view...

By on 11/26/2009 1:22 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper