SparseBufferConstFloat

Inheritance diagram of rumba.SparseBufferConstFloat
class SparseBufferConstFloat

Bases: rumba.Value

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.

Constructors

__init__

Methods

can_cast(v)
type v:Value
read_indices() Return a readable accessor on the indices buffer.
read_values() Return a readable accessor on the buffer indices.
can_cast(v: Value) → bool
Return type:bool
read_indices()

Return a readable accessor on the indices buffer.

read_values()

Return a readable accessor on the buffer indices.