into¶
- zixy.container.convert.into(source: ViewableBase[Any, Any], t: type[OutT]) OutT[source]¶
Clone
sourceinto a new related container of typet.- Parameters:
source – Container to convert.
t – Target container type.
- Returns:
An owning clone represented as
t.- Raises:
TypeError – If the source-target pair is unsupported or has incompatible component types.
ValueError – If a coefficient value cannot be represented by the target coefficient type.