ValueVec¶
- class dsviper.ValueVec¶
Bases:
objectValueVec(type_vec [, initial_value]). A class used to represent a value of type vec<element_type, size>. Seamless with a Python seq[int|real].
Or use Value.create(type_vec [, initial_value]).
- at(index: int, *, encoded: bool = True) int | float¶
Return the value at index.
- hash() int¶
Return the hash value.
- representation() str¶
Return the representation.
- set(index: int, value: _NumericInputValues) None¶
Set the value at index.
- size() int¶
Return the number of elements.
- to_tuple() tuple¶
Return a tuple.
- type_code() str¶
Return the type code.