ReductionStatus
symbolica.community.tensor Class
ReductionStatus()Completion of a tensor reduction under its selected settings.
Complete means no eligible work remains. Deferred means exact eligible work remains for another operation. Capped means an explicitly requested work limit stopped processing. A partial result still represents the exact original tensor; completion is relative to the requested operations, not every possible identity.
Examples
from symbolica.community.tensor import TensorExpression, ReductionStatus
result = TensorExpression(3).contract()
result.reduction_status == ReductionStatus.CompleteMember details
Complete
Field#Complete: typing.ClassVar[ReductionStatus] No eligible work remains under the requested settings.
Deferred
Field#Deferred: typing.ClassVar[ReductionStatus] Exact eligible work remains for a subsequent operation.
Capped
Field#Capped: typing.ClassVar[ReductionStatus] An explicit work limit stopped processing; the remaining expression is exact.
__int__
Method#__int__() -> intReturn the underlying integer discriminant.
View generated signature source: docs/api/python/spynso3.pyi:1433