ValueMat¶
- class dsviper.ValueMat¶
Bases:
objectA class used to represent a value of type mat<element_type, columns, rows>. Seamless with a Python seq[seq[int|float]].
Or use Value.create(type_mat [, initial_value]).
- at(column: int, row: int, *, encoded: bool = True) _OutputValues¶
Return the value at column and row.
- columns() int¶
Return the number of columns.
- hash() int¶
Return the hash value.
- representation() str¶
Return the representation.
- rows() int¶
Return the number of rows.
- set(column: int, row: int, value: _InputValues) None¶
Set the value at column, row.
- size() int¶
Return the number of elements.
- to_tuple() tuple¶
Return a tuple.
- type_code() str¶
Return the type code.