KinematicsError
Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.
KinematicsError
class KinematicsErrorInvalid Lorentz transformation, momentum, or jet-clustering request.
Examples
from symbolica import S, E
from symbolica.community import hepkit as hep
try:
hep.JetDefinition.anti_kt(-0.4)
except hep.KinematicsError as error:
message = str(error)