Markus Mottl avatar Markus Mottl committed cd53880

Minor cleanups

Comments (0)

Files changed (4)

                * lacpy (also copies triangular matrices)
                * larnv (random number generation)
+             Fixed Mac OS X build problems.
+             Lots of internal cleanups.
 2009-04-23:  Improved numerical stability of Vec.ssqr for real numbers
              and zero mean.
 description="LACAML - BLAS/LAPACK-interface for OCaml"
       if c = zero then direct_ssqr_zero n ofsx incx x
       else direct_ssqr n c ofsx incx x
-(* TODO *)
+(* MAP *)
 (* SORT *)
     as second argument. *)
 val fold :
-  (num_type -> num_type -> num_type) ->
-  num_type ->
+  ('a -> num_type -> 'a) ->
+  'a ->
   ?n : int ->
   ?ofsx : int ->
   ?incx : int ->
-  -> num_type
+  -> 'a
 (** [fold f a ?n ?ofsx ?incx x] is
     [f (... (f (f a x.{ofsx}) x.{ofsx + incx}) ...) x.{ofsx + (n-1)*incx}]
     if [incx > 0] and the same in the reverse order of appearance of the
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.