Module Buffer.Float
val set : t -> int -> float -> unitset t off valuewill set thevalueat offsetoffin the buffer.
val get : t -> int -> floatget t offwill return the value at offsetoff.
val length : t -> intReturn the number of elements in the buffer.
val create : int -> tCreates a new buffer. The buffer is initialized with zeros.
val blit : src:t -> s_off:int -> dst:t -> d_off:int -> len:int -> unitCopy one buffer into another.
- parameter src
The buffer to copy from.
- parameter s_off
The offset to start copying from the
srcbuffer.
- parameter dst
The buffer to copy to.
- parameter d_off
The offset to start copying to the
dstbuffer.
- parameter len
The number of values to copy.
val fill : t -> float -> unitFill the buffer with the given value.