# tfg.math.spherical_harmonics.generate_l_m_permutations

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/math/spherical_harmonics.py#L78-L99) |

Generates permutations of degree l and order m for spherical harmonics.

    tfg.math.spherical_harmonics.generate_l_m_permutations(
        max_band: int,
        name: str = 'spherical_harmonics_generate_l_m_permutations'
    ) -> Tuple[TensorLike, TensorLike]

<br />

<br />

<br />

| ## Args ||
|---|---|
| `max_band` | An integer scalar storing the highest band. |
| `name` | A name for this op. Defaults to "spherical_harmonics_generate_l_m_permutations". |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Two tensors of shape `[max_band*max_band]`. ||

<br />