* Bug 12862 fixed: intsplin(x,y) ignored imag(y)
[scilab.git] / scilab / modules / differential_equations / help / ru_RU / intsplin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="intsplin" xml:lang="ru">
3     <refnamediv>
4         <refname>intsplin</refname>
5         <refpurpose>
6             интегрирование экспериментальных данных кусочной интерполяцией
7         </refpurpose>
8     </refnamediv>
9     <refsynopsisdiv>
10         <title>Синтаксис</title>
11         <synopsis>
12           v = intsplin(y)
13           v = intsplin(x, y)
14         </synopsis>
15     </refsynopsisdiv>
16     <refsection>
17         <title>Аргументы</title>
18         <variablelist>
19             <varlistentry>
20                 <term>x</term>
21                 <listitem>
22                     <para>
23                         вектор  координат <literal>x</literal> в порядке возрастания.
24                         Значение по умолчанию <literal>1:size(y,'*')</literal>.
25                     </para>
26                 </listitem>
27             </varlistentry>
28             <varlistentry>
29                 <term>y</term>
30                 <listitem>
31                     <para>
32                         вектор ординат <literal>y</literal>.
33                     </para>
34                 </listitem>
35             </varlistentry>
36             <varlistentry>
37                 <term>v</term>
38                 <listitem>
39                     <para>значение интеграла</para>
40                 </listitem>
41             </varlistentry>
42         </variablelist>
43     </refsection>
44     <refsection>
45         <title>Описание</title>
46         <para>Вычисляет:</para>
47         <para>
48             <literal>y(i)=f(x(i))</literal> и <literal>x0=x(1)</literal>,
49             <literal>x1=x(n)</literal>,
50         </para>
51         <para>
52             где  <literal>f</literal>  -- функция, описываемая набором экспериментальных значений.
53         </para>
54         <para>Между точками сетки функция интерполируется с помощью сплайнов.</para>
55     </refsection>
56     <refsection>
57         <title>Примеры</title>
58         <programlisting role="example"><![CDATA[
59 t = 0:0.1:%pi
60 intsplin(t,sin(t))
61
62 intsplin(1:5)            // 12
63
64 x = 0:0.1:0.4;
65 intsplin(x, 1:5)         // 1.2
66
67 intsplin((1:5)*%i)       // 12i
68 intsplin(x, (1:5)*%i)    // 1.2i
69 intsplin(x, x+(1:5)*%i)  // 0.08 + 1.2i
70  ]]></programlisting>
71     </refsection>
72     <refsection role="see also">
73         <title>Смотрите также</title>
74         <simplelist type="inline">
75             <member>
76                 <link linkend="intg">intg</link>
77             </member>
78             <member>
79                 <link linkend="integrate">integrate</link>
80             </member>
81             <member>
82                 <link linkend="inttrap">inttrap</link>
83             </member>
84             <member>
85                 <link linkend="splin">splin</link>
86             </member>
87         </simplelist>
88     </refsection>
89 </refentry>