Documentation ¶
Overview ¶
Package fbuf provides a set of helpers around buffers of []float64.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Empty ¶
Empty returns a zero length buffer with at least capacity c. If the provided buffer has capacity, it will be used otherwise a new one is created.
func ReduceCapacity ¶
ReduceCapacity sets the capacity to a lower value. This can be useful when splitting a buffer to prevent use of the first part of the buffer from overflowing into the second part.
func Slice ¶
Slice returns a buffer with length c. If the provided buffer has capacity, it will be used otherwise a new one is created.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.