[LANG] Added seeded random number generation - philox (#261)

This commit is contained in:
Szymon Sidor
2021-09-02 22:02:40 -07:00
committed by GitHub
parent c069ef907e
commit 8bedcce9be
16 changed files with 595 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ def setup(app):
import sys
import os
sys.path.insert(0, os.path.abspath('../python/'))
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.coverage', 'sphinx.ext.napoleon']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.autosummary', 'sphinx.ext.coverage', 'sphinx.ext.napoleon']
autosummary_generate = True
# Sphinx gallery
@@ -78,6 +78,9 @@ sphinx_gallery_conf = {
'filename_pattern': '',
'ignore_pattern': r'__init__\.py',
'within_subsection_order': FileNameSortKey,
'reference_url': {
'sphinx_gallery': None,
}
}
# Add any paths that contain templates here, relative to this directory.

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -121,6 +121,19 @@ Comparison ops
minimum
maximum
.. _Random Number Generation:
Random Number Generation
-------------------------
.. autosummary::
:toctree: generated
:nosignatures:
randint4x
randint
rand
randn
Compiler Hint Ops
-------------------
@@ -129,4 +142,4 @@ Compiler Hint Ops
:toctree: generated
:nosignatures:
multiple_of
multiple_of