affidiff 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. affidiff-0.1.0/.gitattributes +1 -0
  2. affidiff-0.1.0/.github/workflows/bump-version.yaml +32 -0
  3. affidiff-0.1.0/.github/workflows/workflow.yaml +59 -0
  4. affidiff-0.1.0/.gitignore +9 -0
  5. affidiff-0.1.0/.python-version +1 -0
  6. affidiff-0.1.0/.travis.yml +52 -0
  7. affidiff-0.1.0/CHANGELOG.md +5 -0
  8. affidiff-0.1.0/LICENSE.md +22 -0
  9. affidiff-0.1.0/PKG-INFO +18 -0
  10. affidiff-0.1.0/README.md +3 -0
  11. affidiff-0.1.0/docs/Makefile +177 -0
  12. affidiff-0.1.0/docs/source/centtend.rst +26 -0
  13. affidiff-0.1.0/docs/source/cir.rst +19 -0
  14. affidiff-0.1.0/docs/source/conf.py +292 -0
  15. affidiff-0.1.0/docs/source/gbm.rst +30 -0
  16. affidiff-0.1.0/docs/source/generic_model.rst +55 -0
  17. affidiff-0.1.0/docs/source/heston.rst +29 -0
  18. affidiff-0.1.0/docs/source/index.rst +13 -0
  19. affidiff-0.1.0/docs/source/vasicek.rst +16 -0
  20. affidiff-0.1.0/examples/__init__.py +0 -0
  21. affidiff-0.1.0/examples/load_real_data.py +34 -0
  22. affidiff-0.1.0/examples/try_centtend.py +402 -0
  23. affidiff-0.1.0/examples/try_cir.py +70 -0
  24. affidiff-0.1.0/examples/try_gbm.py +112 -0
  25. affidiff-0.1.0/examples/try_heston.py +422 -0
  26. affidiff-0.1.0/examples/try_vasicek.py +66 -0
  27. affidiff-0.1.0/models.lyx +2742 -0
  28. affidiff-0.1.0/models.pdf +3 -0
  29. affidiff-0.1.0/pyproject.toml +36 -0
  30. affidiff-0.1.0/setup.py +40 -0
  31. affidiff-0.1.0/src/affidiff/__init__.py +13 -0
  32. affidiff-0.1.0/src/affidiff/helper_functions.py +395 -0
  33. affidiff-0.1.0/src/affidiff/model_cir.py +68 -0
  34. affidiff-0.1.0/src/affidiff/model_ct.py +632 -0
  35. affidiff-0.1.0/src/affidiff/model_gbm.py +349 -0
  36. affidiff-0.1.0/src/affidiff/model_generic.py +490 -0
  37. affidiff-0.1.0/src/affidiff/model_heston.py +322 -0
  38. affidiff-0.1.0/src/affidiff/model_vasicek.py +72 -0
  39. affidiff-0.1.0/src/affidiff/param_cir.py +140 -0
  40. affidiff-0.1.0/src/affidiff/param_ct.py +352 -0
  41. affidiff-0.1.0/src/affidiff/param_gbm.py +133 -0
  42. affidiff-0.1.0/src/affidiff/param_generic.py +155 -0
  43. affidiff-0.1.0/src/affidiff/param_heston.py +321 -0
  44. affidiff-0.1.0/src/affidiff/param_vasicek.py +138 -0
  45. affidiff-0.1.0/src/affidiff/simulate.pyx +77 -0
  46. affidiff-0.1.0/src/affidiff/symbolic.py +53 -0
  47. affidiff-0.1.0/tests/test_ajd.py +188 -0
  48. affidiff-0.1.0/tests/test_generic.py +33 -0
  49. affidiff-0.1.0/tests/test_helpers.py +99 -0
  50. affidiff-0.1.0/tests/test_param_cir.py +71 -0
  51. affidiff-0.1.0/tests/test_param_ct.py +491 -0
  52. affidiff-0.1.0/tests/test_param_gbm.py +70 -0
  53. affidiff-0.1.0/tests/test_param_heston.py +352 -0
  54. affidiff-0.1.0/tests/test_param_vasicek.py +71 -0
  55. affidiff-0.1.0/tests/test_rmoms_ct.py +564 -0
  56. affidiff-0.1.0/tests/test_rmoms_gbm.py +52 -0
  57. affidiff-0.1.0/tests/test_rmoms_heston.py +457 -0
  58. affidiff-0.1.0/tests/test_simulations.py +606 -0
  59. affidiff-0.1.0/uv.lock +474 -0
@@ -0,0 +1 @@
1
+ *.pdf filter=lfs diff=lfs merge=lfs -crlf
@@ -0,0 +1,32 @@
1
+ name: Bump version
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ bump-version:
10
+ if: "!startsWith(github.event.head_commit.message, 'bump:')"
11
+ runs-on: ubuntu-latest
12
+ name: "Bump version and create changelog with commitizen"
13
+ steps:
14
+ - name: Check out
15
+ uses: actions/checkout@v6
16
+ with:
17
+ token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
18
+ fetch-depth: 0
19
+ - name: Create bump and changelog
20
+ uses: commitizen-tools/commitizen-action@master
21
+ with:
22
+ github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
23
+ changelog_increment_filename: body.md
24
+ push: true
25
+ - name: Release
26
+ uses: ncipollo/release-action@v1
27
+ with:
28
+ tag: v${{ env.REVISION }}
29
+ bodyFile: "body.md"
30
+ skipIfReleaseExists: true
31
+ env:
32
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,59 @@
1
+ name: Tests, Code Quality, Build
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "*"
7
+ pull_request:
8
+ branches:
9
+ - main
10
+
11
+ jobs:
12
+
13
+ test:
14
+ name: Run unit tests
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Check out repository code
18
+ uses: actions/checkout@v6
19
+ - name: Setup Python
20
+ uses: actions/setup-python@v6
21
+ with:
22
+ python-version-file: ".python-version"
23
+ - name: Install uv
24
+ uses: astral-sh/setup-uv@v7
25
+ with:
26
+ enable-cache: true
27
+ cache-dependency-glob: "uv.lock"
28
+ - name: Install dependencies
29
+ run: uv sync --group dev
30
+ - name: Run test suite
31
+ run: uv run pytest
32
+
33
+ publish:
34
+ name: Build and publish wheels
35
+ needs: [ test ]
36
+ runs-on: ubuntu-latest
37
+ environment:
38
+ name: pypi
39
+ url: https://pypi.org/p/affidiff/
40
+ permissions:
41
+ id-token: write
42
+ contents: read
43
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
44
+ steps:
45
+ - name: Check out repository code
46
+ uses: actions/checkout@v6
47
+ - name: Setup Python
48
+ uses: actions/setup-python@v6
49
+ with:
50
+ python-version-file: ".python-version"
51
+ - name: Install uv
52
+ uses: astral-sh/setup-uv@v7
53
+ with:
54
+ enable-cache: true
55
+ cache-dependency-glob: "uv.lock"
56
+ - name: Build
57
+ run: uv build
58
+ - name: Publish
59
+ run: uv publish
@@ -0,0 +1,9 @@
1
+ .idea/
2
+ .mypy_cache/
3
+ .pytest_cache/
4
+ .ruff_cache/
5
+ __pycache__/
6
+ .venv/
7
+ *.egg-info
8
+ .coverage
9
+ dist/
@@ -0,0 +1 @@
1
+ 3.14
@@ -0,0 +1,52 @@
1
+ language: python
2
+ python:
3
+ - 2.7
4
+ - 3.4
5
+ - 3.5
6
+ - 3.6
7
+ notifications:
8
+ email:
9
+ on_success: change
10
+ on_failure: always
11
+ sudo: false
12
+ addons:
13
+ apt:
14
+ packages:
15
+ # BLAS support
16
+ - liblapack3gf
17
+ - libblas3gf
18
+ - liblapack-dev
19
+ - libblas-dev
20
+ - libatlas-base-dev
21
+
22
+ # Setup anaconda
23
+ before_install:
24
+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
25
+ wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
26
+ else
27
+ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
28
+ fi
29
+ - bash miniconda.sh -b -p $HOME/miniconda
30
+ - export PATH="$HOME/miniconda/bin:$PATH"
31
+ - hash -r
32
+ - conda config --set always_yes yes --set changeps1 no
33
+ - conda update -q conda
34
+ # Useful for debugging any issues with conda
35
+ - conda info -a
36
+ - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION cython numpy scipy matplotlib nose seaborn statsmodels
37
+ - source activate test-environment
38
+
39
+ # Install packages
40
+ install:
41
+ - conda install --yes -c omnia numdifftools
42
+ - pip install git+git://github.com/khrapovs/mygmm
43
+ - python setup.py build
44
+
45
+ # Run test
46
+ script:
47
+ - python setup.py develop
48
+ - nosetests
49
+
50
+ # Calculate coverage
51
+ after_success:
52
+ - coveralls --config_file .coveragerc
@@ -0,0 +1,5 @@
1
+ ## v0.1.0 (2026-04-20)
2
+
3
+ ### Feat
4
+
5
+ - Release management (#3)
@@ -0,0 +1,22 @@
1
+ **Copyright (c) 2015 Stanislav Khrapov**
2
+
3
+ Developed by: Stanislav Khrapov (<khrapovs@gmail.com>)
4
+ [https://sites.google.com/site/khrapovs](https://sites.google.com/site/khrapovs)
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ **THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.**
@@ -0,0 +1,18 @@
1
+ Metadata-Version: 2.4
2
+ Name: affidiff
3
+ Version: 0.1.0
4
+ Summary: Affine Diffusions. Simulation and estimation.
5
+ Author-email: Stanislav Khrapov <khrapovs@gmail.com>
6
+ License-File: LICENSE.md
7
+ Requires-Python: >=3.14
8
+ Requires-Dist: matplotlib>=3.10.8
9
+ Requires-Dist: mygmm>=0.1.0
10
+ Requires-Dist: numpy>=2.4.4
11
+ Requires-Dist: scipy>=1.17.1
12
+ Requires-Dist: seaborn>=0.13.2
13
+ Requires-Dist: statsmodels>=0.14.6
14
+ Description-Content-Type: text/markdown
15
+
16
+ # Affine Diffusions
17
+
18
+ Simulation and estimation of Affine Diffusion models.
@@ -0,0 +1,3 @@
1
+ # Affine Diffusions
2
+
3
+ Simulation and estimation of Affine Diffusion models.
@@ -0,0 +1,177 @@
1
+ # Makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line.
5
+ SPHINXOPTS =
6
+ SPHINXBUILD = sphinx-build
7
+ PAPER =
8
+ BUILDDIR = build
9
+
10
+ # User-friendly check for sphinx-build
11
+ ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
12
+ $(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
13
+ endif
14
+
15
+ # Internal variables.
16
+ PAPEROPT_a4 = -D latex_paper_size=a4
17
+ PAPEROPT_letter = -D latex_paper_size=letter
18
+ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
19
+ # the i18n builder cannot share the environment and doctrees with the others
20
+ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
21
+
22
+ .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
23
+
24
+ help:
25
+ @echo "Please use \`make <target>' where <target> is one of"
26
+ @echo " html to make standalone HTML files"
27
+ @echo " dirhtml to make HTML files named index.html in directories"
28
+ @echo " singlehtml to make a single large HTML file"
29
+ @echo " pickle to make pickle files"
30
+ @echo " json to make JSON files"
31
+ @echo " htmlhelp to make HTML files and a HTML help project"
32
+ @echo " qthelp to make HTML files and a qthelp project"
33
+ @echo " devhelp to make HTML files and a Devhelp project"
34
+ @echo " epub to make an epub"
35
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
36
+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
37
+ @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
38
+ @echo " text to make text files"
39
+ @echo " man to make manual pages"
40
+ @echo " texinfo to make Texinfo files"
41
+ @echo " info to make Texinfo files and run them through makeinfo"
42
+ @echo " gettext to make PO message catalogs"
43
+ @echo " changes to make an overview of all changed/added/deprecated items"
44
+ @echo " xml to make Docutils-native XML files"
45
+ @echo " pseudoxml to make pseudoxml-XML files for display purposes"
46
+ @echo " linkcheck to check all external links for integrity"
47
+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
48
+
49
+ clean:
50
+ rm -rf $(BUILDDIR)/*
51
+
52
+ html:
53
+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
54
+ @echo
55
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
56
+
57
+ dirhtml:
58
+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
59
+ @echo
60
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
61
+
62
+ singlehtml:
63
+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
64
+ @echo
65
+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
66
+
67
+ pickle:
68
+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
69
+ @echo
70
+ @echo "Build finished; now you can process the pickle files."
71
+
72
+ json:
73
+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
74
+ @echo
75
+ @echo "Build finished; now you can process the JSON files."
76
+
77
+ htmlhelp:
78
+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
79
+ @echo
80
+ @echo "Build finished; now you can run HTML Help Workshop with the" \
81
+ ".hhp project file in $(BUILDDIR)/htmlhelp."
82
+
83
+ qthelp:
84
+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
85
+ @echo
86
+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
87
+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
88
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/diffusions.qhcp"
89
+ @echo "To view the help file:"
90
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/diffusions.qhc"
91
+
92
+ devhelp:
93
+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
94
+ @echo
95
+ @echo "Build finished."
96
+ @echo "To view the help file:"
97
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/diffusions"
98
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/diffusions"
99
+ @echo "# devhelp"
100
+
101
+ epub:
102
+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
103
+ @echo
104
+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
105
+
106
+ latex:
107
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
108
+ @echo
109
+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
110
+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
111
+ "(use \`make latexpdf' here to do that automatically)."
112
+
113
+ latexpdf:
114
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
115
+ @echo "Running LaTeX files through pdflatex..."
116
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
117
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
118
+
119
+ latexpdfja:
120
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
121
+ @echo "Running LaTeX files through platex and dvipdfmx..."
122
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
123
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
124
+
125
+ text:
126
+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
127
+ @echo
128
+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
129
+
130
+ man:
131
+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
132
+ @echo
133
+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
134
+
135
+ texinfo:
136
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
137
+ @echo
138
+ @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
139
+ @echo "Run \`make' in that directory to run these through makeinfo" \
140
+ "(use \`make info' here to do that automatically)."
141
+
142
+ info:
143
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
144
+ @echo "Running Texinfo files through makeinfo..."
145
+ make -C $(BUILDDIR)/texinfo info
146
+ @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
147
+
148
+ gettext:
149
+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
150
+ @echo
151
+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
152
+
153
+ changes:
154
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
155
+ @echo
156
+ @echo "The overview file is in $(BUILDDIR)/changes."
157
+
158
+ linkcheck:
159
+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
160
+ @echo
161
+ @echo "Link check complete; look for any errors in the above output " \
162
+ "or in $(BUILDDIR)/linkcheck/output.txt."
163
+
164
+ doctest:
165
+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
166
+ @echo "Testing of doctests in the sources finished, look at the " \
167
+ "results in $(BUILDDIR)/doctest/output.txt."
168
+
169
+ xml:
170
+ $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
171
+ @echo
172
+ @echo "Build finished. The XML files are in $(BUILDDIR)/xml."
173
+
174
+ pseudoxml:
175
+ $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
176
+ @echo
177
+ @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
@@ -0,0 +1,26 @@
1
+ Central Tendency (CT)
2
+ ---------------------
3
+
4
+ The model is
5
+
6
+ .. math::
7
+ dp_{t}&=\left(r+\left(\lambda-\frac{1}{2}\right)
8
+ \sigma_{t}^{2}\right)dt+\sigma_{t}dW_{t}^{r},\\
9
+ d\sigma_{t}^{2}&=\kappa_{\sigma}\left(v_{t}^{2}-\sigma_{t}^{2}\right)dt
10
+ +\eta_{\sigma}\sigma_{t}dW_{t}^{\sigma},\\
11
+ dv_{t}^{2}&=\kappa_{v}\left(\mu-v_{t}^{2}\right)dt+\eta_{v}v_{t}dW_{t}^{v},
12
+
13
+ with :math:`p_{t}=\log S_{t}`,
14
+ and :math:`Corr\left[dW_{s}^{r},dW_{s}^{\sigma}\right]=\rho`,
15
+ or in other words
16
+ :math:`W_{t}^{\sigma}=\rho W_{t}^{r}+\sqrt{1-\rho^{2}}W_{t}^{v}`.
17
+ Also let :math:`R\left(Y_{t}\right)=r`.
18
+
19
+
20
+ .. automodule:: diffusions.param_ct
21
+
22
+ .. autoclass:: diffusions.param_ct.CentTendParam
23
+
24
+ .. automodule:: diffusions.model_ct
25
+
26
+ .. autoclass:: diffusions.model_ct.CentTend
@@ -0,0 +1,19 @@
1
+ Cox-Ingersoll-Ross (CIR)
2
+ ------------------------
3
+
4
+ Suppose that :math:`r_{t}` evolves according to
5
+
6
+ .. math::
7
+ dr_{t}=\kappa\left(\mu-r_{t}\right)dt+\eta\sqrt{r_{t}}dW_{t}.
8
+
9
+ Feller condition for positivity of the process is
10
+ :math:`\kappa\mu>\frac{1}{2}\eta^{2}`.
11
+
12
+
13
+ .. automodule:: diffusions.param_cir
14
+
15
+ .. autoclass:: diffusions.param_cir.CIRparam
16
+
17
+ .. automodule:: diffusions.model_cir
18
+
19
+ .. autoclass:: diffusions.model_cir.CIR