DSMTypeVec

class dsviper.DSMTypeVec

Bases: DSMType

The vec<numeric_type, size> as a parsed model declares it.

element_type() is another declared type, so the leaves are names; size is the dimension written in the model. Definitions holds the registered TypeVec those names stand for.

Note: Not directly instantiable.

element_type() → DSMType

Return the type of element.

size() → int

Return how many components the vec packs.