Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = (float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t
val set : t -> int -> float -> unit
set t off value
will set the value
at offset off
in the buffer.
val get : t -> int -> float
get t off
will return the value at offset off
.
val length : t -> int
Return the number of elements in the buffer.
val create : int -> t
Creates a new buffer. The buffer is initialized with zeros.
val fill : t -> float -> unit
Fill the buffer with the given value.