Skip to content

Commit

Permalink
Preliminary Julia docs (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster authored Nov 8, 2023
1 parent b85b098 commit 0c9951e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/src/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ different languages it supports.
python-api
pytorch-api
jax-api

Although the Julia API is not fully documented yet, basic usage examples are available
`here <https://github.com/lab-cosmo/sphericart/blob/main/julia/README.md>`_.
3 changes: 3 additions & 0 deletions docs/src/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ floating-point arithmetics, and they evaluate the mean relative error between th
python-examples
pytorch-examples
jax-examples

Although comprehensive Julia examples are not fully available yet, basic usage is illustrated
`here <https://github.com/lab-cosmo/sphericart/blob/main/julia/README.md>`_.
4 changes: 2 additions & 2 deletions docs/src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ The theory behind this efficient implementation is detailed in this
`paper <https://arxiv.org/abs/2302.08381>`_.

The core library is implemented in C++ with OpenMP parallelism, and it provides
APIs for C, Python and PyTorch. In addition, the PyTorch-based implementation
provides fast spherical harmonics evaluations on GPUs using CUDA.
APIs for C, Python and PyTorch. The latter implementation provides fast spherical
harmonics evaluations on GPUs using CUDA. A native Julia package is also available.

This documentation contains an installation guide, an API overview, some examples
of how to use the library, and a brief explanation of the mathematics involved.
Expand Down
6 changes: 6 additions & 0 deletions docs/src/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ you should build the code from source:
pip install --extra-index-url https://download.pytorch.org/whl/cpu .[torch]
Julia package
-------------

The native Julia package can be installed by opening a REPL,
switching to the package manager by typing ``]`` and then ``add SpheriCart``.


C/C++ library
-------------
Expand Down

0 comments on commit 0c9951e

Please sign in to comment.