forked from apachecn/numpy-doc-zh
-
Notifications
You must be signed in to change notification settings - Fork 1
/
routines.functional.html
31 lines (29 loc) · 2.61 KB
/
routines.functional.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<h1><span class="yiyi-st" id="yiyi-11">Functional programming</span></h1>
<blockquote>
<p>原文:<a href="https://docs.scipy.org/doc/numpy/reference/routines.functional.html">https://docs.scipy.org/doc/numpy/reference/routines.functional.html</a></p>
<p>译者:<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
<p>校对:(虚位以待)</p>
</blockquote>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%">
<col width="90%">
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-12"><a class="reference internal" href="generated/numpy.apply_along_axis.html#numpy.apply_along_axis" title="numpy.apply_along_axis"><code class="xref py py-obj docutils literal"><span class="pre">apply_along_axis</span></code></a>(func1d,axis,arr,\ * args,...)</span></td>
<td><span class="yiyi-st" id="yiyi-13">沿着给定轴向1-D切片应用函数。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-14"><a class="reference internal" href="generated/numpy.apply_over_axes.html#numpy.apply_over_axes" title="numpy.apply_over_axes"><code class="xref py py-obj docutils literal"><span class="pre">apply_over_axes</span></code></a>(func,a,axes)</span></td>
<td><span class="yiyi-st" id="yiyi-15">在多个轴上重复应用一个函数。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-16"><a class="reference internal" href="generated/numpy.vectorize.html#numpy.vectorize" title="numpy.vectorize"><code class="xref py py-obj docutils literal"><span class="pre">vectorize</span></code></a>(pyfunc [,otypes,doc,excluded,cache])</span></td>
<td><span class="yiyi-st" id="yiyi-17">广义函数类。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-18"><a class="reference internal" href="generated/numpy.frompyfunc.html#numpy.frompyfunc" title="numpy.frompyfunc"><code class="xref py py-obj docutils literal"><span class="pre">frompyfunc</span></code></a>(func,nin,nout)</span></td>
<td><span class="yiyi-st" id="yiyi-19">使用一个任意的Python函数并返回一个Numpy ufunc。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-20"><a class="reference internal" href="generated/numpy.piecewise.html#numpy.piecewise" title="numpy.piecewise"><code class="xref py py-obj docutils literal"><span class="pre">piecewise</span></code></a>(x, condlist, funclist, \*args, \*\*kw)</span></td>
<td><span class="yiyi-st" id="yiyi-21">评估分段定义的函数。</span></td>
</tr>
</tbody>
</table>