You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd><p>Compute <spanclass="math">\(f'(x)\)</span>, storing the output in <codeclass="docutils literal"><spanclass="pre">out</span></code>. If <codeclass="docutils literal"><spanclass="pre">x</span></code> is a <codeclass="docutils literal"><spanclass="pre">Tuple</span></code>,
156
-
then <codeclass="docutils literal"><spanclass="pre">f</span></code> will be called as <codeclass="docutils literal"><spanclass="pre">f(x...)</span></code> and the derivatives with respect to
157
-
each element in <cite>x</cite> will be stored in the respective element of <codeclass="docutils literal"><spanclass="pre">out</span></code> (which
158
-
should also be a <codeclass="docutils literal"><spanclass="pre">Tuple</span></code>).</p>
155
+
<dd><p>Compute <spanclass="math">\(f'(x)\)</span>, storing the output in <codeclass="docutils literal"><spanclass="pre">out</span></code>.</p>
156
+
</dd></dl>
157
+
158
+
<dlclass="function">
159
+
<dt>
160
+
<codeclass="descname">ForwardDiff.derivative!(out, f!, y, x, cfg = ForwardDiff.DerivativeConfig(f!, y, x))</code></dt>
161
+
<dd><p>Compute and return <spanclass="math">\(f'(x)\)</span>, storing the output in <codeclass="docutils literal"><spanclass="pre">`out</span></code>. This form assumes that
162
+
<spanclass="math">\(f'(x)\)</span> can be called as <codeclass="docutils literal"><spanclass="pre">f!(y,</span><spanclass="pre">x)</span></code> such that the value result is stored in
<codeclass="descclassname">ForwardDiff.</code><codeclass="descname">derivative</code><spanclass="sig-paren">(</span><em>f</em>, <em>x</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#ForwardDiff.derivative" title="Permalink to this definition">¶</a></dt>
164
-
<dd><p>Compute and return <spanclass="math">\(f'(x)\)</span>. If <codeclass="docutils literal"><spanclass="pre">x</span></code> is a <codeclass="docutils literal"><spanclass="pre">Tuple</span></code>, <codeclass="docutils literal"><spanclass="pre">f</span></code> will be
165
-
called as <codeclass="docutils literal"><spanclass="pre">f(x...)</span></code>, and a <codeclass="docutils literal"><spanclass="pre">Tuple</span></code> of derivatives will be returned.</p>
169
+
<dd><p>Compute and return <spanclass="math">\(f'(x)\)</span>.</p>
<dd><p>Compute and return <spanclass="math">\(f'(x)\)</span>. This form assumes that <spanclass="math">\(f'(x)\)</span> can be called as
176
+
<codeclass="docutils literal"><spanclass="pre">f!(y,</span><spanclass="pre">x)</span></code> such that the value result is stored in <codeclass="docutils literal"><spanclass="pre">y</span></code>.</p>
0 commit comments