Skip to content

Commit

Permalink
Fix C API rendering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster committed Aug 29, 2024
1 parent 1893087 commit e552a51
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions sphericart/include/sphericart.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,16 @@ SPHERICART_EXPORT void sphericart_spherical_harmonics_compute_array(
* `n_samples` long, accounting for different samples, while the inner
* dimension has size 3 and it represents the x, y, and z coordinates
* respectively.
* @param xyz_length size of the xyz allocation, i.e, `3 * n_samples`
* @param sph pointer to the first element of an array containing `n_samples
* * (l_max + 1) * (l_max + 1)` elements. On exit, this array will contain
* @param xyz_length size of the xyz allocation, i.e, ``3 * n_samples``
* @param sph pointer to the first element of an array containing ``n_samples
* * (l_max + 1) * (l_max + 1)`` elements. On exit, this array will contain
* the spherical harmonics organized along two dimensions. The leading
* dimension is `n_samples` long and it represents the different
* samples, while the inner dimension size is `(l_max + 1) * (l_max + 1)`
* samples, while the inner dimension size is ``(l_max + 1) * (l_max + 1)``
* long and it contains the spherical harmonics. These are laid out in
* lexicographic order. For example, if `l_max=2`, it will contain
* `(l, m) = (0, 0), (1, -1), (1, 0), (1, 1), (2, -2), (2, -1), (2, 0), (2,
* 1), (2, 2)`, in this order.
* lexicographic order. For example, if ``l_max=2``, it will contain
* ``(l, m) = (0, 0), (1, -1), (1, 0), (1, 1), (2, -2), (2, -1), (2, 0), (2,
* 1), (2, 2)``, in this order.
* @param sph_length size of the sph allocation, should be `n_samples *
* (l_max + 1) * (l_max + 1)`
* @param dsph pointer to the first element of an array containing `n_samples
Expand Down Expand Up @@ -213,16 +213,16 @@ SPHERICART_EXPORT void sphericart_spherical_harmonics_compute_array_with_gradien
* `n_samples` long, accounting for different samples, while the inner
* dimension has size 3 and it represents the x, y, and z coordinates
* respectively.
* @param xyz_length size of the xyz allocation, i.e, `3 * n_samples`
* @param sph pointer to the first element of an array containing `n_samples
* * (l_max + 1) * (l_max + 1)` elements. On exit, this array will contain
* the spherical harmonics organized along two dimensions. The leading
* dimension is `n_samples` long and it represents the different
* @param xyz_length size of the xyz allocation, i.e, ``3 * n_samples``
* @param sph pointer to the first element of an array containing
* `n_samples * (l_max + 1) * (l_max + 1)` elements. On exit, this array
* will contain the spherical harmonics organized along two dimensions.
* The leading dimension is `n_samples` long and it represents the different
* samples, while the inner dimension size is `(l_max + 1) * (l_max + 1)`
* long and it contains the spherical harmonics. These are laid out in
* lexicographic order. For example, if `l_max=2`, it will contain
* `(l, m) = (0, 0), (1, -1), (1, 0), (1, 1), (2, -2), (2, -1), (2, 0), (2,
* 1), (2, 2)`, in this order.
* ``(l, m) = (0, 0), (1, -1), (1, 0), (1, 1), (2, -2), (2, -1), (2, 0), (2,
* 1), (2, 2)``, in this order.
* @param sph_length size of the sph allocation, should be `n_samples *
* (l_max + 1) * (l_max + 1)`
* @param dsph pointer to the first element of an array containing
Expand Down

0 comments on commit e552a51

Please sign in to comment.