Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b, 'c) t = ('a, 'b, 'c) Bigarray.Array2.t
val create :
('a, 'b) Bigarray.kind ->
'c Bigarray.layout ->
int ->
int ->
('a, 'b, 'c) t
val dim1 : ('a, 'b, 'c) t -> int
val dim2 : ('a, 'b, 'c) t -> int
val kind : ('a, 'b, 'c) t -> ('a, 'b) Bigarray.kind
val layout : ('a, 'b, 'c) t -> 'c Bigarray.layout
val size_in_bytes : ('a, 'b, 'c) t -> int
val get : ('a, 'b, 'c) t -> int -> int -> 'a
val set : ('a, 'b, 'c) t -> int -> int -> 'a -> unit
val sub_left :
('a, 'b, Bigarray.c_layout) t ->
int ->
int ->
('a, 'b, Bigarray.c_layout) t
val sub_right :
('a, 'b, Bigarray.fortran_layout) t ->
int ->
int ->
('a, 'b, Bigarray.fortran_layout) t
val slice_left :
('a, 'b, Bigarray.c_layout) t ->
int ->
('a, 'b, Bigarray.c_layout) Bigarray.Array1.t
val slice_right :
('a, 'b, Bigarray.fortran_layout) t ->
int ->
('a, 'b, Bigarray.fortran_layout) Bigarray.Array1.t
val fill : ('a, 'b, 'c) t -> 'a -> unit
val of_array :
('a, 'b) Bigarray.kind ->
'c Bigarray.layout ->
'a array array ->
('a, 'b, 'c) t
val map_file :
Unix.file_descr ->
?pos:int64 ->
('a, 'b) Bigarray.kind ->
'c Bigarray.layout ->
bool ->
int ->
int ->
('a, 'b, 'c) t
val unsafe_get : ('a, 'b, 'c) t -> int -> int -> 'a
val unsafe_set : ('a, 'b, 'c) t -> int -> int -> 'a -> unit
val init :
('a, 'b) Bigarray.kind ->
'c layout ->
int ->
int ->
(int -> int -> 'a) ->
('a, 'b, 'c) t
val to_array : f:('a -> 'b) -> ('a, 'c, 'd) t -> 'b array array
val natural_slice_indices : ('a, 'b, 'c) t -> int array