e3x.so3.irreps.clebsch_gordan_for_degrees

e3x.so3.irreps.clebsch_gordan_for_degrees(degree1, degree2, degree3, cartesian_order=True)[source]

Clebsch-Gordan coefficients for coupling only specific degrees.

See also clebsch_gordan fore more details.

Parameters:
  • degree1 (int) – Degree of the first factor.

  • degree2 (int) – Degree of the second factor.

  • degree3 (int) – Degree of the tensor product.

  • cartesian_order (bool, default: True) – If True, Cartesian order is assumed.

Return type:

<class 'Float[Array, '2*degree1+1 2*degree2+1 2*degree3+1']'>

Returns:

The values of the Clebsch-Gordan coefficients for coupling the requested degrees stored in an Array of shape (2*degree1+1, 2*degree2+1, 2*degree3+1).

Raises:

ValueError – If degree1, degree2, or degree3 are not positive or zero.