forked from apachecn/numpy-doc-zh
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathroutines.polynomials.legendre.html
182 lines (180 loc) · 16 KB
/
routines.polynomials.legendre.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<h1><span class="yiyi-st" id="yiyi-22">Legendre Module (<code class="xref py py-mod docutils literal"><span class="pre">numpy.polynomial.legendre</span></code>)</span></h1>
<blockquote>
<p>原文:<a href="https://docs.scipy.org/doc/numpy/reference/routines.polynomials.legendre.html">https://docs.scipy.org/doc/numpy/reference/routines.polynomials.legendre.html</a></p>
<p>译者:<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
<p>校对:(虚位以待)</p>
</blockquote>
<div class="versionadded">
<p><span class="yiyi-st" id="yiyi-23"><span class="versionmodified">版本1.6.0中的新功能。</span></span></p>
</div>
<p><span class="yiyi-st" id="yiyi-24">此模块提供了许多对处理Legendre系列有用的对象(主要是函数),包括封装了常用算术运算的<a class="reference internal" href="generated/numpy.polynomial.legendre.Legendre.html#numpy.polynomial.legendre.Legendre" title="numpy.polynomial.legendre.Legendre"><code class="xref py py-obj docutils literal"><span class="pre">Legendre</span></code></a>类。</span><span class="yiyi-st" id="yiyi-25">(关于此模块如何表示和使用这样的多项式的一般信息在其“父”子包的文档字符串中,<code class="xref py py-obj docutils literal"><span class="pre">numpy.polynomial</span></code>)。</span></p>
<div class="section" id="legendre-class">
<h2><span class="yiyi-st" id="yiyi-26">Legendre Class</span></h2>
<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-27"><a class="reference internal" href="generated/numpy.polynomial.legendre.Legendre.html#numpy.polynomial.legendre.Legendre" title="numpy.polynomial.legendre.Legendre"><code class="xref py py-obj docutils literal"><span class="pre">Legendre</span></code></a>(coef [,domain,window])</span></td>
<td><span class="yiyi-st" id="yiyi-28">Legendre系列类。</span></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="basics">
<h2><span class="yiyi-st" id="yiyi-29">Basics</span></h2>
<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-30"><a class="reference internal" href="generated/numpy.polynomial.legendre.legval.html#numpy.polynomial.legendre.legval" title="numpy.polynomial.legendre.legval"><code class="xref py py-obj docutils literal"><span class="pre">legval</span></code></a>(x,c [,tensor])</span></td>
<td><span class="yiyi-st" id="yiyi-31">在点x评估Legendre系列。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-32"><a class="reference internal" href="generated/numpy.polynomial.legendre.legval2d.html#numpy.polynomial.legendre.legval2d" title="numpy.polynomial.legendre.legval2d"><code class="xref py py-obj docutils literal"><span class="pre">legval2d</span></code></a>(x,y,c)</span></td>
<td><span class="yiyi-st" id="yiyi-33">在点(x,y)评估2-D Legendre系列。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-34"><a class="reference internal" href="generated/numpy.polynomial.legendre.legval3d.html#numpy.polynomial.legendre.legval3d" title="numpy.polynomial.legendre.legval3d"><code class="xref py py-obj docutils literal"><span class="pre">legval3d</span></code></a>(x,y,z,c)</span></td>
<td><span class="yiyi-st" id="yiyi-35">在点(x,y,z)评估3-D Legendre系列。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-36"><a class="reference internal" href="generated/numpy.polynomial.legendre.leggrid2d.html#numpy.polynomial.legendre.leggrid2d" title="numpy.polynomial.legendre.leggrid2d"><code class="xref py py-obj docutils literal"><span class="pre">leggrid2d</span></code></a>(x,y,c)</span></td>
<td><span class="yiyi-st" id="yiyi-37">在x和y的笛卡尔乘积上评估2-D Legendre系列。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-38"><a class="reference internal" href="generated/numpy.polynomial.legendre.leggrid3d.html#numpy.polynomial.legendre.leggrid3d" title="numpy.polynomial.legendre.leggrid3d"><code class="xref py py-obj docutils literal"><span class="pre">leggrid3d</span></code></a>(x,y,z,c)</span></td>
<td><span class="yiyi-st" id="yiyi-39">在x,y和z的笛卡尔乘积上评估3-D Legendre系列。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-40"><a class="reference internal" href="generated/numpy.polynomial.legendre.legroots.html#numpy.polynomial.legendre.legroots" title="numpy.polynomial.legendre.legroots"><code class="xref py py-obj docutils literal"><span class="pre">legroots</span></code></a>(c)</span></td>
<td><span class="yiyi-st" id="yiyi-41">计算一个Legendre系列的根。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-42"><a class="reference internal" href="generated/numpy.polynomial.legendre.legfromroots.html#numpy.polynomial.legendre.legfromroots" title="numpy.polynomial.legendre.legfromroots"><code class="xref py py-obj docutils literal"><span class="pre">legfromroots</span></code></a>(根)</span></td>
<td><span class="yiyi-st" id="yiyi-43">生成具有给定根的Legendre系列。</span></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="fitting">
<h2><span class="yiyi-st" id="yiyi-44">Fitting</span></h2>
<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-45"><a class="reference internal" href="generated/numpy.polynomial.legendre.legfit.html#numpy.polynomial.legendre.legfit" title="numpy.polynomial.legendre.legfit"><code class="xref py py-obj docutils literal"><span class="pre">legfit</span></code></a>(x,y,deg [,rcond,full,w])</span></td>
<td><span class="yiyi-st" id="yiyi-46">Legendre系列的最小二乘法拟合数据。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-47"><a class="reference internal" href="generated/numpy.polynomial.legendre.legvander.html#numpy.polynomial.legendre.legvander" title="numpy.polynomial.legendre.legvander"><code class="xref py py-obj docutils literal"><span class="pre">legvander</span></code></a>(x,deg)</span></td>
<td><span class="yiyi-st" id="yiyi-48">给定程度的伪Vandermonde矩阵。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-49"><a class="reference internal" href="generated/numpy.polynomial.legendre.legvander2d.html#numpy.polynomial.legendre.legvander2d" title="numpy.polynomial.legendre.legvander2d"><code class="xref py py-obj docutils literal"><span class="pre">legvander2d</span></code></a>(x,y,deg)</span></td>
<td><span class="yiyi-st" id="yiyi-50">给定度的伪Vandermonde矩阵。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-51"><a class="reference internal" href="generated/numpy.polynomial.legendre.legvander3d.html#numpy.polynomial.legendre.legvander3d" title="numpy.polynomial.legendre.legvander3d"><code class="xref py py-obj docutils literal"><span class="pre">legvander3d</span></code></a>(x,y,z,deg)</span></td>
<td><span class="yiyi-st" id="yiyi-52">给定度的伪Vandermonde矩阵。</span></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="calculus">
<h2><span class="yiyi-st" id="yiyi-53">Calculus</span></h2>
<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-54"><a class="reference internal" href="generated/numpy.polynomial.legendre.legder.html#numpy.polynomial.legendre.legder" title="numpy.polynomial.legendre.legder"><code class="xref py py-obj docutils literal"><span class="pre">legder</span></code></a>(c [,m,scl,axis])</span></td>
<td><span class="yiyi-st" id="yiyi-55">区分一个Legendre系列。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-56"><a class="reference internal" href="generated/numpy.polynomial.legendre.legint.html#numpy.polynomial.legendre.legint" title="numpy.polynomial.legendre.legint"><code class="xref py py-obj docutils literal"><span class="pre">legint</span></code></a>(c [,m,k,lbnd,scl,axis])</span></td>
<td><span class="yiyi-st" id="yiyi-57">集成Legendre系列。</span></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="algebra">
<h2><span class="yiyi-st" id="yiyi-58">Algebra</span></h2>
<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-59"><a class="reference internal" href="generated/numpy.polynomial.legendre.legadd.html#numpy.polynomial.legendre.legadd" title="numpy.polynomial.legendre.legadd"><code class="xref py py-obj docutils literal"><span class="pre">legadd</span></code></a>(c1,c2)</span></td>
<td><span class="yiyi-st" id="yiyi-60">添加一个Legendre系列到另一个。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-61"><a class="reference internal" href="generated/numpy.polynomial.legendre.legsub.html#numpy.polynomial.legendre.legsub" title="numpy.polynomial.legendre.legsub"><code class="xref py py-obj docutils literal"><span class="pre">legsub</span></code></a>(c1,c2)</span></td>
<td><span class="yiyi-st" id="yiyi-62">从另一个中减去一个Legendre系列。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-63"><a class="reference internal" href="generated/numpy.polynomial.legendre.legmul.html#numpy.polynomial.legendre.legmul" title="numpy.polynomial.legendre.legmul"><code class="xref py py-obj docutils literal"><span class="pre">legmul</span></code></a>(c1,c2)</span></td>
<td><span class="yiyi-st" id="yiyi-64">将一个Legendre系列乘以另一个。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-65"><a class="reference internal" href="generated/numpy.polynomial.legendre.legmulx.html#numpy.polynomial.legendre.legmulx" title="numpy.polynomial.legendre.legmulx"><code class="xref py py-obj docutils literal"><span class="pre">legmulx</span></code></a>(c)</span></td>
<td><span class="yiyi-st" id="yiyi-66">将一个Legendre系列乘以x。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-67"><a class="reference internal" href="generated/numpy.polynomial.legendre.legdiv.html#numpy.polynomial.legendre.legdiv" title="numpy.polynomial.legendre.legdiv"><code class="xref py py-obj docutils literal"><span class="pre">legdiv</span></code></a>(c1,c2)</span></td>
<td><span class="yiyi-st" id="yiyi-68">将一个Legendre系列除以另一个。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-69"><a class="reference internal" href="generated/numpy.polynomial.legendre.legpow.html#numpy.polynomial.legendre.legpow" title="numpy.polynomial.legendre.legpow"><code class="xref py py-obj docutils literal"><span class="pre">legpow</span></code></a>(c,pow [,maxpower])</span></td>
<td><span class="yiyi-st" id="yiyi-70">把一个Legendre系列提升一个力量。</span></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="quadrature">
<h2><span class="yiyi-st" id="yiyi-71">Quadrature</span></h2>
<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-72"><a class="reference internal" href="generated/numpy.polynomial.legendre.leggauss.html#numpy.polynomial.legendre.leggauss" title="numpy.polynomial.legendre.leggauss"><code class="xref py py-obj docutils literal"><span class="pre">leggauss</span></code></a>(deg)</span></td>
<td><span class="yiyi-st" id="yiyi-73">高斯 - 勒让德正交。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-74"><a class="reference internal" href="generated/numpy.polynomial.legendre.legweight.html#numpy.polynomial.legendre.legweight" title="numpy.polynomial.legendre.legweight"><code class="xref py py-obj docutils literal"><span class="pre">legweight</span></code></a>(x)</span></td>
<td><span class="yiyi-st" id="yiyi-75">勒让德多项式的权重函数。</span></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="miscellaneous">
<h2><span class="yiyi-st" id="yiyi-76">Miscellaneous</span></h2>
<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-77"><a class="reference internal" href="generated/numpy.polynomial.legendre.legcompanion.html#numpy.polynomial.legendre.legcompanion" title="numpy.polynomial.legendre.legcompanion"><code class="xref py py-obj docutils literal"><span class="pre">legcompanion</span></code></a>(c)</span></td>
<td><span class="yiyi-st" id="yiyi-78">返回c的缩放伴随矩阵。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-79"><a class="reference internal" href="generated/numpy.polynomial.legendre.legdomain.html#numpy.polynomial.legendre.legdomain" title="numpy.polynomial.legendre.legdomain"><code class="xref py py-obj docutils literal"><span class="pre">legdomain</span></code></a></span></td>
<td></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-80"><a class="reference internal" href="generated/numpy.polynomial.legendre.legzero.html#numpy.polynomial.legendre.legzero" title="numpy.polynomial.legendre.legzero"><code class="xref py py-obj docutils literal"><span class="pre">legzero</span></code></a></span></td>
<td></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-81"><a class="reference internal" href="generated/numpy.polynomial.legendre.legone.html#numpy.polynomial.legendre.legone" title="numpy.polynomial.legendre.legone"><code class="xref py py-obj docutils literal"><span class="pre">legone</span></code></a></span></td>
<td></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-82"><a class="reference internal" href="generated/numpy.polynomial.legendre.legx.html#numpy.polynomial.legendre.legx" title="numpy.polynomial.legendre.legx"><code class="xref py py-obj docutils literal"><span class="pre">legx</span></code></a></span></td>
<td></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-83"><a class="reference internal" href="generated/numpy.polynomial.legendre.legtrim.html#numpy.polynomial.legendre.legtrim" title="numpy.polynomial.legendre.legtrim"><code class="xref py py-obj docutils literal"><span class="pre">legtrim</span></code></a>(c [,tol])</span></td>
<td><span class="yiyi-st" id="yiyi-84">从多项式中删除“小”“拖尾”系数。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-85"><a class="reference internal" href="generated/numpy.polynomial.legendre.legline.html#numpy.polynomial.legendre.legline" title="numpy.polynomial.legendre.legline"><code class="xref py py-obj docutils literal"><span class="pre">legline</span></code></a>(off,scl)</span></td>
<td><span class="yiyi-st" id="yiyi-86">Legendre系列的图形是一条直线。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-87"><a class="reference internal" href="generated/numpy.polynomial.legendre.leg2poly.html#numpy.polynomial.legendre.leg2poly" title="numpy.polynomial.legendre.leg2poly"><code class="xref py py-obj docutils literal"><span class="pre">leg2poly</span></code></a>(c)</span></td>
<td><span class="yiyi-st" id="yiyi-88">将Legendre系列转换为多项式。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-89"><a class="reference internal" href="generated/numpy.polynomial.legendre.poly2leg.html#numpy.polynomial.legendre.poly2leg" title="numpy.polynomial.legendre.poly2leg"><code class="xref py py-obj docutils literal"><span class="pre">poly2leg</span></code></a>(pol)</span></td>
<td><span class="yiyi-st" id="yiyi-90">将多项式转换为Legendre系列。</span></td>
</tr>
</tbody>
</table>
</div>