「GNU Octave 2.1.x 日本語マニュアル/数値積分」の版間の差分

削除された内容 追加された内容
22 数値積分 Quadrature
quad_options (opt, val)
26 行
[Loadable Function]
 
二つの引数で呼び出されると、この関数は、関数のquadのオプションパラメータを設定できます。
When called with two arguments, this function allows you set options parameters
一引数が与えらるれと、関数quad_optionsは、対応するオプションの値を返します。
for the function quad. Given one argument, quad_options returns the value of the
引数を指定しない場合、利用可能なすべてのオプションとその現在の値の名前が表示されます。
corresponding option. If no arguments are supplied, the names of all the available
options and their current values are displayed.
 
"absolute tolerance":"絶対許容誤差"
Options include
"absolute tolerance"
Absolute tolerance; may be zero for pure relative error test.
 
絶対許容誤差は、純粋な相対的なエラー・テストのばあいはゼロとなります。
"relative tolerance"
 
Nonnegative relative tolerance.
"relative tolerance":"相対的許容値"
If the absolute tolerance is zero, the relative tolerance must be greater than or equal to max (50*eps, 0.5e-28).
 
Here is an example of using quad to integrate the function
非負の相対許容誤差。
 
絶対許容誤差(Absolute tolerance)がゼロであれば、相対的許容値誤差(Relative tolerance)は,
 
::<math>
max(50*EPS,0.5e-28)
</math>
 
より大きいか、または等しくなければなりません。
 
これは、quadを使った関数の積分例です。
 
::<math>
46 ⟶ 54行目:
from x = 0 to x = 3.
 
これは、かなり難しい積分です(難しい理由を確かめるために積分範囲をプロットしてください).
This is a fairly difficult integration (plot the function over the range of integration to see why).
最初のステップは関数を定義します:
 
The first step is to define the function:
 
<source lang=matlab>