Skip to content

Commit

Permalink
Update online docs
Browse files Browse the repository at this point in the history
  • Loading branch information
schoi32 committed Dec 24, 2019
1 parent 13c1c8d commit eb37df9
Show file tree
Hide file tree
Showing 28 changed files with 1,050 additions and 1,048 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ docs/Gemfile.lock
# Sphinx
python_prototype/sphinx/_build/
python_prototype/sphinx/_static/
python_prototype/sphinx/rst_from_demos/
python_prototype/sphinx/rts_from_readme/

# Jupyter Notebooks
*checkpoint.ipynb
Expand Down
Binary file added docs/_images/MC_vs_QMC_5_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/MC_vs_QMC_9_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/nei_demo_13_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/nei_demo_3_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/nei_demo_5_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/nei_demo_7_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/nei_demo_9_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/quasirandom_generators_10_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/quasirandom_generators_13_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/sample_scatter_plots_10_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/sample_scatter_plots_11_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/sample_scatter_plots_13_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/sample_scatter_plots_16_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/sample_scatter_plots_4_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/sample_scatter_plots_6_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/sample_scatter_plots_9_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
524 changes: 262 additions & 262 deletions docs/_sources/rst_from_demos/MC_vs_QMC.rst.txt

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/_sources/rst_from_demos/integration_examples.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Lattice Discrete Distribution: -
n 2048
n_total 2048
confid_int [ 5.833 5.838]
time_total 0.434
time_total 0.318
r 16
Expand Down Expand Up @@ -163,7 +163,7 @@ Multi-Level
.. parsed-literal::
Solution: 5.8320
Solution: 5.8344
AsianCall (Integrand Object)
volatility [ 0.500 0.500 0.500]
start_price [30 30 30]
Expand All @@ -185,10 +185,10 @@ Multi-Level
inflate 1.200
alpha 0.010
MeanVarData (AccumData Object)
n [ 249322.000 31697.000 5429.000]
n_total 289520
confid_int [ 5.783 5.881]
time_total 0.119
n [ 249427.000 31202.000 5566.000]
n_total 289267
confid_int [ 5.786 5.883]
time_total 0.093
18 changes: 9 additions & 9 deletions docs/_sources/rst_from_demos/qmcpy_intro.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ QMCPy and then invoke QMCPy’s integrate function:
.. parsed-literal::
Solution: 0.6638
Solution: 0.6581
QuickConstruct (Integrand Object)
IIDStdUniform (Discrete Distribution Object)
mimics StdUniform
Expand All @@ -227,10 +227,10 @@ QMCPy and then invoke QMCPy’s integrate function:
inflate 1.200
alpha 0.010
MeanVarData (AccumData Object)
n 3298
n_total 4322
confid_int [ 0.654 0.674]
time_total 0.002
n 3433
n_total 4457
confid_int [ 0.648 0.668]
time_total 0.003
Expand Down Expand Up @@ -266,7 +266,7 @@ changing the input parameter value of dimension for QuickConstruct
.. parsed-literal::
Solution: 0.8282
Solution: 0.8219
QuickConstruct (Integrand Object)
IIDStdUniform (Discrete Distribution Object)
mimics StdUniform
Expand All @@ -281,9 +281,9 @@ changing the input parameter value of dimension for QuickConstruct
inflate 1.200
alpha 0.010
MeanVarData (AccumData Object)
n 5611
n_total 6635
confid_int [ 0.818 0.838]
n 5388
n_total 6412
confid_int [ 0.812 0.832]
time_total 0.002
Expand Down
492 changes: 246 additions & 246 deletions docs/_sources/rst_from_demos/quasirandom_generators.rst.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/_sources/rst_from_demos/sample_scatter_plots.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Plots samples on a 2D Keister function
n 65
n_total 81
confid_int [ 1.646 2.464]
time_total 0.001
time_total 0.002
Expand Down
Binary file added docs/qmcpy.pdf
Binary file not shown.
524 changes: 262 additions & 262 deletions docs/rst_from_demos/MC_vs_QMC.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/rst_from_demos/integration_examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ <h3>Single Level<a class="headerlink" href="#single-level" title="Permalink to t
<span class="n">n</span> <span class="mi">2048</span>
<span class="n">n_total</span> <span class="mi">2048</span>
<span class="n">confid_int</span> <span class="p">[</span> <span class="mf">5.833</span> <span class="mf">5.838</span><span class="p">]</span>
<span class="n">time_total</span> <span class="mf">0.434</span>
<span class="n">time_total</span> <span class="mf">0.318</span>
<span class="n">r</span> <span class="mi">16</span>
</pre></div>
</div>
Expand Down Expand Up @@ -311,7 +311,7 @@ <h3>Multi-Level<a class="headerlink" href="#multi-level" title="Permalink to thi
<span class="nb">print</span><span class="p">(</span><span class="n">data</span><span class="p">)</span>
</pre></div>
</div>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Solution</span><span class="p">:</span> <span class="mf">5.8320</span>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Solution</span><span class="p">:</span> <span class="mf">5.8344</span>
<span class="n">AsianCall</span> <span class="p">(</span><span class="n">Integrand</span> <span class="n">Object</span><span class="p">)</span>
<span class="n">volatility</span> <span class="p">[</span> <span class="mf">0.500</span> <span class="mf">0.500</span> <span class="mf">0.500</span><span class="p">]</span>
<span class="n">start_price</span> <span class="p">[</span><span class="mi">30</span> <span class="mi">30</span> <span class="mi">30</span><span class="p">]</span>
Expand All @@ -333,10 +333,10 @@ <h3>Multi-Level<a class="headerlink" href="#multi-level" title="Permalink to thi
<span class="n">inflate</span> <span class="mf">1.200</span>
<span class="n">alpha</span> <span class="mf">0.010</span>
<span class="n">MeanVarData</span> <span class="p">(</span><span class="n">AccumData</span> <span class="n">Object</span><span class="p">)</span>
<span class="n">n</span> <span class="p">[</span> <span class="mf">249322.000</span> <span class="mf">31697.000</span> <span class="mf">5429.000</span><span class="p">]</span>
<span class="n">n_total</span> <span class="mi">289520</span>
<span class="n">confid_int</span> <span class="p">[</span> <span class="mf">5.783</span> <span class="mf">5.881</span><span class="p">]</span>
<span class="n">time_total</span> <span class="mf">0.119</span>
<span class="n">n</span> <span class="p">[</span> <span class="mf">249427.000</span> <span class="mf">31202.000</span> <span class="mf">5566.000</span><span class="p">]</span>
<span class="n">n_total</span> <span class="mi">289267</span>
<span class="n">confid_int</span> <span class="p">[</span> <span class="mf">5.786</span> <span class="mf">5.883</span><span class="p">]</span>
<span class="n">time_total</span> <span class="mf">0.093</span>
</pre></div>
</div>
</div>
Expand Down
18 changes: 9 additions & 9 deletions docs/rst_from_demos/qmcpy_intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ <h2>Multi-Dimensional Inputs<a class="headerlink" href="#multi-dimensional-input
<span class="nb">print</span><span class="p">(</span><span class="n">data</span><span class="p">)</span>
</pre></div>
</div>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Solution</span><span class="p">:</span> <span class="mf">0.6638</span>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Solution</span><span class="p">:</span> <span class="mf">0.6581</span>
<span class="n">QuickConstruct</span> <span class="p">(</span><span class="n">Integrand</span> <span class="n">Object</span><span class="p">)</span>
<span class="n">IIDStdUniform</span> <span class="p">(</span><span class="n">Discrete</span> <span class="n">Distribution</span> <span class="n">Object</span><span class="p">)</span>
<span class="n">mimics</span> <span class="n">StdUniform</span>
Expand All @@ -322,10 +322,10 @@ <h2>Multi-Dimensional Inputs<a class="headerlink" href="#multi-dimensional-input
<span class="n">inflate</span> <span class="mf">1.200</span>
<span class="n">alpha</span> <span class="mf">0.010</span>
<span class="n">MeanVarData</span> <span class="p">(</span><span class="n">AccumData</span> <span class="n">Object</span><span class="p">)</span>
<span class="n">n</span> <span class="mi">3298</span>
<span class="n">n_total</span> <span class="mi">4322</span>
<span class="n">confid_int</span> <span class="p">[</span> <span class="mf">0.654</span> <span class="mf">0.674</span><span class="p">]</span>
<span class="n">time_total</span> <span class="mf">0.002</span>
<span class="n">n</span> <span class="mi">3433</span>
<span class="n">n_total</span> <span class="mi">4457</span>
<span class="n">confid_int</span> <span class="p">[</span> <span class="mf">0.648</span> <span class="mf">0.668</span><span class="p">]</span>
<span class="n">time_total</span> <span class="mf">0.003</span>
</pre></div>
</div>
<p>For our integral, we know the true value. Let’s check if QMCPy’s
Expand All @@ -349,7 +349,7 @@ <h2>Multi-Dimensional Inputs<a class="headerlink" href="#multi-dimensional-input
<span class="nb">print</span><span class="p">(</span><span class="n">data2</span><span class="p">)</span>
</pre></div>
</div>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Solution</span><span class="p">:</span> <span class="mf">0.8282</span>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Solution</span><span class="p">:</span> <span class="mf">0.8219</span>
<span class="n">QuickConstruct</span> <span class="p">(</span><span class="n">Integrand</span> <span class="n">Object</span><span class="p">)</span>
<span class="n">IIDStdUniform</span> <span class="p">(</span><span class="n">Discrete</span> <span class="n">Distribution</span> <span class="n">Object</span><span class="p">)</span>
<span class="n">mimics</span> <span class="n">StdUniform</span>
Expand All @@ -364,9 +364,9 @@ <h2>Multi-Dimensional Inputs<a class="headerlink" href="#multi-dimensional-input
<span class="n">inflate</span> <span class="mf">1.200</span>
<span class="n">alpha</span> <span class="mf">0.010</span>
<span class="n">MeanVarData</span> <span class="p">(</span><span class="n">AccumData</span> <span class="n">Object</span><span class="p">)</span>
<span class="n">n</span> <span class="mi">5611</span>
<span class="n">n_total</span> <span class="mi">6635</span>
<span class="n">confid_int</span> <span class="p">[</span> <span class="mf">0.818</span> <span class="mf">0.838</span><span class="p">]</span>
<span class="n">n</span> <span class="mi">5388</span>
<span class="n">n_total</span> <span class="mi">6412</span>
<span class="n">confid_int</span> <span class="p">[</span> <span class="mf">0.812</span> <span class="mf">0.832</span><span class="p">]</span>
<span class="n">time_total</span> <span class="mf">0.002</span>
</pre></div>
</div>
Expand Down

0 comments on commit eb37df9

Please sign in to comment.