Chapel domain for Sphinx
Project description
Package documentation is available on readthedocs.org.
Installation
To install:
pip install sphinxcontrib-chapeldomain
To install from source on github:
git clone https://github.com/chapel-lang/sphinxcontrib-chapeldomain cd sphinxcontrib-chapeldomain python setup.py install
Getting Started
This is an example that covers several features of the Chapel domain:
.. chpl:module:: GMP
:synopsis: multiple precision integer library
.. chpl:record:: BigNum
multiple precision instances
.. chpl:method:: proc add(a:BigNum, b:BigNum)
Add two big ints, ``a`` and ``b``, and store the result in ``this``
instance.
:arg a: BigNum to be added
:type a: BigNum
:arg BigNum b: BigNum to be added
:returns: nothing, result is stored in current instance
.. chpl:itermethod:: iter these() ref
Arbitrary iterator that returns individual digits of this instance.
:ytype: reference
:yields: reference to each individual digit of BigNum
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sphinxcontrib-chapeldomain-0.0.8.tar.gz.
File metadata
- Download URL: sphinxcontrib-chapeldomain-0.0.8.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d4b92f2696e4f879fd50f2e66e819c93695dbf1f47bee6d5db30b5587f8a37
|
|
| MD5 |
cc17208991ff494134ba7ccfda45dcb5
|
|
| BLAKE2b-256 |
6b594fcebcac2188d324c59f7fa5cd06f67da315c12b98fc6819e67326f4dac8
|