package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b, 'c) t = ('a, 'b, 'c) Bigarray.Genarray.t
val create : ('a, 'b) BatBigarray.kind -> 'c BatBigarray.layout -> int array -> ('a, 'b, 'c) t
val num_dims : ('a, 'b, 'c) t -> int
val dims : ('a, 'b, 'c) t -> int array
val nth_dim : ('a, 'b, 'c) t -> int -> int
val kind : ('a, 'b, 'c) t -> ('a, 'b) BatBigarray.kind
val layout : ('a, 'b, 'c) t -> 'c BatBigarray.layout
val change_layout : ('a, 'b, 'c) t -> 'd BatBigarray.layout -> ('a, 'b, 'd) t
val size_in_bytes : ('a, 'b, 'c) t -> int
val get : ('a, 'b, 'c) t -> int array -> 'a
val set : ('a, 'b, 'c) t -> int array -> 'a -> unit
val sub_left : ('a, 'b, BatBigarray.c_layout) t -> int -> int -> ('a, 'b, BatBigarray.c_layout) t
val sub_right : ('a, 'b, BatBigarray.fortran_layout) t -> int -> int -> ('a, 'b, BatBigarray.fortran_layout) t
val slice_left : ('a, 'b, BatBigarray.c_layout) t -> int array -> ('a, 'b, BatBigarray.c_layout) t
val slice_right : ('a, 'b, BatBigarray.fortran_layout) t -> int array -> ('a, 'b, BatBigarray.fortran_layout) t
val blit : ('a, 'b, 'c) t -> ('a, 'b, 'c) t -> unit
val fill : ('a, 'b, 'c) t -> 'a -> unit
val map_file : Unix.file_descr -> ?pos:int64 -> ('a, 'b) BatBigarray.kind -> 'c BatBigarray.layout -> bool -> int array -> ('a, 'b, 'c) t
val iter : ('a -> unit) -> ('a, 'b, 'c) t -> unit
val iteri : ((int, [ `Read ]) BatArray.Cap.t -> 'a -> unit) -> ('a, 'b, 'c) t -> unit
val modify : ('a -> 'a) -> ('a, 'b, 'c) t -> unit
val modifyi : ((int, [ `Read ]) BatArray.Cap.t -> 'a -> 'a) -> ('a, 'b, 'c) t -> unit
val enum : ('a, 'b, 'c) t -> 'a BatEnum.t
val map : ('a -> 'b) -> ('b, 'c) Bigarray.kind -> ('a, 'd, 'e) t -> ('b, 'c, 'e) t
val mapi : ((int, [ `Read ]) BatArray.Cap.t -> 'a -> 'b) -> ('b, 'c) Bigarray.kind -> ('a, 'd, 'e) t -> ('b, 'c, 'e) t
OCaml

Innovation. Community. Security.