Skip to content

Commit

Permalink
deploy: c97450d
Browse files Browse the repository at this point in the history
  • Loading branch information
masanorihirano committed Aug 26, 2024
1 parent 129de31 commit fa3a548
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _modules/pfhedge/stochastic/brownian.html
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ <h1>Source code for pfhedge.stochastic.brownian</h1><div class="highlight"><pre>
<span class="sd"> torch.Tensor</span>

<span class="sd"> Examples:</span>
<span class="sd"> &gt;&gt;&gt; from pfhedge.stochastic import generate_brownian</span>
<span class="sd"> &gt;&gt;&gt; from pfhedge.stochastic import generate_geometric_brownian</span>
<span class="sd"> &gt;&gt;&gt;</span>
<span class="sd"> &gt;&gt;&gt; _ = torch.manual_seed(42)</span>
<span class="sd"> &gt;&gt;&gt; generate_geometric_brownian(2, 5)</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ <h1>pfhedge.stochastic.generate_geometric_brownian<a class="headerlink" href="#p
</dd>
</dl>
<p class="rubric">Examples</p>
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">pfhedge.stochastic</span> <span class="kn">import</span> <span class="n">generate_brownian</span>
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">pfhedge.stochastic</span> <span class="kn">import</span> <span class="n">generate_geometric_brownian</span>
<span class="gp">&gt;&gt;&gt;</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">_</span> <span class="o">=</span> <span class="n">torch</span><span class="o">.</span><span class="n">manual_seed</span><span class="p">(</span><span class="mi">42</span><span class="p">)</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">generate_geometric_brownian</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="mi">5</span><span class="p">)</span>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit fa3a548

Please sign in to comment.