Bigarray_ext.Array3Sourceinclude module type of struct include Bigarray.Array3 endThe type of three-dimensional Bigarrays whose elements have OCaml type 'a, representation kind 'b, and memory layout 'c.
Return the first dimension of the given three-dimensional Bigarray.
Return the second dimension of the given three-dimensional Bigarray.
Return the third dimension of the given three-dimensional Bigarray.
Return the layout of the given Bigarray.
Array3.change_layout a layout returns a Bigarray with the specified layout, sharing the data with a (and hence having the same dimensions as a). No copying of elements is involved: the new array and the original array share the same storage space. The dimensions are reversed, such that get v [| a; b; c |] in C layout becomes get v [| c+1; b+1; a+1 |] in Fortran layout.
size_in_bytes a is the number of elements in a multiplied by a's kind_size_in_bytes.
Extract a three-dimensional sub-array of the given three-dimensional Bigarray by restricting the first dimension. See Bigarray.Genarray.sub_left for more details. Array3.sub_left applies only to arrays with C layout.
val sub_right :
('a, 'b, Bigarray.fortran_layout) t ->
int ->
int ->
('a, 'b, Bigarray.fortran_layout) tExtract a three-dimensional sub-array of the given three-dimensional Bigarray by restricting the second dimension. See Bigarray.Genarray.sub_right for more details. Array3.sub_right applies only to arrays with Fortran layout.
val slice_left_1 :
('a, 'b, Bigarray.c_layout) t ->
int ->
int ->
('a, 'b, Bigarray.c_layout) Bigarray.Array1.tExtract a one-dimensional slice of the given three-dimensional Bigarray by fixing the first two coordinates. The integer parameters are the coordinates of the slice to extract. See Bigarray.Genarray.slice_left for more details. Array3.slice_left_1 applies only to arrays with C layout.
val slice_right_1 :
('a, 'b, Bigarray.fortran_layout) t ->
int ->
int ->
('a, 'b, Bigarray.fortran_layout) Bigarray.Array1.tExtract a one-dimensional slice of the given three-dimensional Bigarray by fixing the last two coordinates. The integer parameters are the coordinates of the slice to extract. See Bigarray.Genarray.slice_right for more details. Array3.slice_right_1 applies only to arrays with Fortran layout.
val slice_left_2 :
('a, 'b, Bigarray.c_layout) t ->
int ->
('a, 'b, Bigarray.c_layout) Bigarray.Array2.tExtract a two-dimensional slice of the given three-dimensional Bigarray by fixing the first coordinate. The integer parameter is the first coordinate of the slice to extract. See Bigarray.Genarray.slice_left for more details. Array3.slice_left_2 applies only to arrays with C layout.
val slice_right_2 :
('a, 'b, Bigarray.fortran_layout) t ->
int ->
('a, 'b, Bigarray.fortran_layout) Bigarray.Array2.tExtract a two-dimensional slice of the given three-dimensional Bigarray by fixing the last coordinate. The integer parameter is the coordinate of the slice to extract. See Bigarray.Genarray.slice_right for more details. Array3.slice_right_2 applies only to arrays with Fortran layout.