static_tuple
Implements StaticTuple, a statically-sized uniform container.
You can import these APIs from the utils
package. For example:
from utils.static_tuple import StaticTuple
StaticTuple
A statically sized tuple type which contains elements of homogeneous types.
Parameters:
- element_type (
AnyRegType
): The type of the elements in the tuple. - size (
Int
): The size of the tuple.
Aliases:
-
type = array<#lit.struct.extract<:@stdlib::@builtin::@int::@Int size, "value">, element_type>
Fields:
- array (
array<#lit.struct.extract<:@stdlib::@builtin::@int::@Int si