Bigarray_ext.Array1Sourceinclude module type of struct include Bigarray.Array1 endThe type of one-dimensional Bigarrays whose elements have OCaml type 'a, representation kind 'b, and memory layout 'c.
Return the size (dimension) of the given one-dimensional Bigarray.
Return the layout of the given Bigarray.
Array1.change_layout a layout returns a Bigarray with the specified layout, sharing the data with a (and hence having the same dimension as a). No copying of elements is involved: the new array and the original array share the same storage space.
size_in_bytes a is the number of elements in a multiplied by a's kind_size_in_bytes.
Extract a sub-array of the given one-dimensional Bigarray. See Genarray.sub_left for more details.
Extract a scalar (zero-dimensional slice) of the given one-dimensional Bigarray. The integer parameter is the index of the scalar to extract. See Bigarray.Genarray.slice_left and Bigarray.Genarray.slice_right for more details.