Skip to content

Commit

Permalink
Updating version and regenerating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-graham committed Nov 13, 2019
1 parent 3de08bd commit 71cf444
Show file tree
Hide file tree
Showing 14 changed files with 490 additions and 409 deletions.
4 changes: 2 additions & 2 deletions docs/docs/autodiff.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1 class="title">Package <code>mici.autodiff</code></h1>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/autodiff.py#L0-L62" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/autodiff.py#L0-L62" class="git-link">Browse git</a>
</summary>
<pre><code class="python">&#34;&#34;&#34;Automatic differentation fallback for constructing derivative functions.

Expand Down Expand Up @@ -132,7 +132,7 @@ <h2 id="returns">Returns</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/autodiff.py#L34-L63" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/autodiff.py#L34-L63" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def autodiff_fallback(diff_func, func, diff_op_name, name):
&#34;&#34;&#34;Generate derivative function automatically if not provided.
Expand Down
17 changes: 10 additions & 7 deletions docs/docs/autograd_wrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="title">Package <code>mici.autograd_wrapper</code></h1>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/autograd_wrapper.py#L0-L121" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/autograd_wrapper.py#L0-L124" class="git-link">Browse git</a>
</summary>
<pre><code class="python">&#34;&#34;&#34;Additional autograd differential operators.&#34;&#34;&#34;

Expand All @@ -44,7 +44,10 @@ <h1 class="title">Package <code>mici.autograd_wrapper</code></h1>

def _wrapped_unary_to_nary(func):
&#34;&#34;&#34;Use functools.wraps with unary_to_nary decorator.&#34;&#34;&#34;
return wraps(func)(unary_to_nary(func))
if AUTOGRAD_AVAILABLE:
return wraps(func)(unary_to_nary(func))
else:
return func


@_wrapped_unary_to_nary
Expand Down Expand Up @@ -166,7 +169,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/autograd_wrapper.py#L21-L30" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/autograd_wrapper.py#L24-L33" class="git-link">Browse git</a>
</summary>
<pre><code class="python">@_wrapped_unary_to_nary
def grad_and_value(fun, x):
Expand All @@ -191,7 +194,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/autograd_wrapper.py#L33-L50" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/autograd_wrapper.py#L36-L53" class="git-link">Browse git</a>
</summary>
<pre><code class="python">@_wrapped_unary_to_nary
def jacobian_and_value(fun, x):
Expand Down Expand Up @@ -233,7 +236,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/autograd_wrapper.py#L53-L75" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/autograd_wrapper.py#L56-L78" class="git-link">Browse git</a>
</summary>
<pre><code class="python">@_wrapped_unary_to_nary
def mhp_jacobian_and_value(fun, x):
Expand Down Expand Up @@ -271,7 +274,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/autograd_wrapper.py#L78-L96" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/autograd_wrapper.py#L81-L99" class="git-link">Browse git</a>
</summary>
<pre><code class="python">@_wrapped_unary_to_nary
def hessian_grad_and_value(fun, x):
Expand Down Expand Up @@ -313,7 +316,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/autograd_wrapper.py#L99-L122" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/autograd_wrapper.py#L102-L125" class="git-link">Browse git</a>
</summary>
<pre><code class="python">@_wrapped_unary_to_nary
def mtp_hessian_grad_and_value(fun, x):
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="title">Package <code>mici.errors</code></h1>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/errors.py#L0-L12" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/errors.py#L0-L12" class="git-link">Browse git</a>
</summary>
<pre><code class="python">&#34;&#34;&#34;Exception types.&#34;&#34;&#34;

Expand Down Expand Up @@ -60,7 +60,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/errors.py#L4-L5" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/errors.py#L4-L5" class="git-link">Browse git</a>
</summary>
<pre><code class="python">class IntegratorError(RuntimeError):
&#34;&#34;&#34;Error raised when integrator step fails.&#34;&#34;&#34;</code></pre>
Expand All @@ -86,7 +86,7 @@ <h3>Subclasses</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/errors.py#L8-L9" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/errors.py#L8-L9" class="git-link">Browse git</a>
</summary>
<pre><code class="python">class NonReversibleStepError(IntegratorError):
&#34;&#34;&#34;Error raised when integrator step fails reversibility check.&#34;&#34;&#34;</code></pre>
Expand All @@ -108,7 +108,7 @@ <h3>Ancestors</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/errors.py#L12-L13" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/errors.py#L12-L13" class="git-link">Browse git</a>
</summary>
<pre><code class="python">class ConvergenceError(IntegratorError):
&#34;&#34;&#34;Error raised when solver fails to converge within allowed iterations.&#34;&#34;&#34;</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="title">Package <code>mici</code></h1>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/matt-graham/mici/blob/13c902e29fb02d2bb4f94ae6bc12eebc1b74d36c/mici/__init__.py#L0-L14" class="git-link">Browse git</a>
<a href="https://github.com/matt-graham/mici/blob/3de08bd1cd6b1be61c6a9979a6f2e5f95328983b/mici/__init__.py#L0-L14" class="git-link">Browse git</a>
</summary>
<pre><code class="python"># -*- coding: utf-8 -*-
&#34;&#34;&#34; MCMC samplers based on simulating Hamiltonian dynamics on a manifold. &#34;&#34;&#34;
Expand Down
Loading

0 comments on commit 71cf444

Please sign in to comment.