e3x.so3.irreps.is_traceless_symmetric

e3x.so3.irreps.is_traceless_symmetric(x, degree, rtol=1e-05, atol=1e-05)[source]

Checks whether a given tensor is traceless and symmetric.

Parameters:
Return type:

bool

Returns:

True if the tensor is traceless and symmetric, False otherwise.

Raises:

ValueError – If degree is not positive or zero or the shape of the tensor is inconsistent with degree.