SparseBufferConstFloat

- class SparseBufferConstFloat
A read only buffer of sparse values. It is composed of a buffer of values and a buffer of the index in the whole buffer.
Methods
Constructor(s)
can_cast(v)- type v
Value
empty()Resize true if this sparse buffer is empty.
Return a readable accessor on the indices buffer.
Return a readable accessor on the buffer indices.
size()Return the sparse buffer size.
- __init__()
Constructor(s)
SparseBufferConst (v: Value)
Cast a Value object in SparseBufferConst.
If v has not the good type, a default value is constructed.
- empty() bool
Resize true if this sparse buffer is empty.
- Return type
bool
- read_indices()
Return a readable accessor on the indices buffer.
- read_values()
Return a readable accessor on the buffer indices.
- size() int
Return the sparse buffer size.
- Return type
int