CookingError

Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.

CookingError

class CookingError

Raised when a compound index label cannot be encoded by the selected interning mode.

Notes

Subclass of TypeError. Catch it around the corresponding tensor operation to handle invalid input or an unsupported symbolic form.

Examples

from symbolica.community.tensor import CookingError
issubclass(CookingError, TypeError)
True