SparseBufferFloat

Inheritance diagram of rumba.SparseBufferFloat
class SparseBufferFloat

A writable SparseBuffer.

Methods

__init__

Constructor(s)

resize(size)

Resize the sparse buffer.

write_indices()

Return a writable accessor on the buffer indices.

write_values()

Return a writable accessor on the buffer indices.

__init__()

Constructor(s)

SparseBufferConst (v: Value)

Cast a Value object in SparseBufferConst.

If v has not the good type, a default value is constructed.

resize(size: int) None

Resize the sparse buffer.

write_indices()

Return a writable accessor on the buffer indices.

write_values()

Return a writable accessor on the buffer indices.