TypeMat

class dsviper.TypeMat(numeric_type, columns, rows)

Bases: object

A class used to represent a mat<numeric_type, columns, rows> type.

static cast(type: Type) TypeMat

Return the type mat<N, columns, rows> or raise.

columns() int

Return the number of columns.

description(*, namespace: NameSpace | None = None) str

Return the description.

element_type() _NumericTypes

Return the element type.

elements_type() TypeVector

Return the type for elements.

representation(*, namespace: NameSpace | None = None) str

Return the representation.

rows() int

Return the number of rows.

runtime_id() ValueUUId

Return the uuid assigned by the runtime.

type_code() str

Return the type code.