Base type class. Represents the type of a data structure.
Returns a common supertype for type1 and type2
Returns copy of this type
Returns descendant type classes as list
Return type: | list of descendant type classes |
---|
Returns base type name
Returns subtype if this is a non-scalar type. Otherwise, raises TypeError. If subtype_id invalid, raised IndexError.
Parameters: | subtype_id – id of subtype, default 0. Should be >= 0 and < getSubTypeNumber(). |
---|---|
Return type: | obj of class Type |
Returns number of subtypes of this type
Returns default value.
Returns numpy dtype compatible with this type
Return type: | numpy dtype |
---|
Returns numpy scalar classs compatible with this type
Return type: | numpy scalar class |
---|