Bigarray.Array1val get : ('a, Bigarray.float32_elt, 'c) Bigarray.Array1.t -> int -> float32Array1.get a x, or alternatively a.{x}, returns the element of a at index x. x must be greater or equal than 0 and strictly less than Array1.dim a if a has C layout. If a has Fortran layout, x must be greater or equal than 1 and less or equal than Array1.dim a. Otherwise, Invalid_argument is raised.
val set :
('a, Bigarray.float32_elt, 'c) Bigarray.Array1.t ->
int ->
float32 ->
unitArray1.set a x v, also written a.{x} <- v, stores the value v at index x in a. x must be inside the bounds of a as described in Bigarray.Array1.get; otherwise, Invalid_argument is raised.
val unsafe_get :
('a, Bigarray.float32_elt, 'c) Bigarray.Array1.t ->
int ->
float32Like Bigarray.Array1.get, but bounds checking is not always performed. Use with caution and only when the program logic guarantees that the access is within bounds.
val unsafe_set :
('a, Bigarray.float32_elt, 'c) Bigarray.Array1.t ->
int ->
float32 ->
unitLike Bigarray.Array1.set, but bounds checking is not always performed. Use with caution and only when the program logic guarantees that the access is within bounds.