1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2002-2006 - INRIA - Serge STEER
6 * Copyright (C) 2012 - 2016 - Scilab Enterprises
8 * This file is hereby licensed under the terms of the GNU GPL v2.0,
9 * pursuant to article 5.3.4 of the CeCILL v.2.1.
10 * This file was originally licensed under the terms of the CeCILL v2.1,
11 * and continues to be available under such terms.
12 * For more information, see the COPYING file which you should have received
13 * along with this program.
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
17 xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
18 xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
19 xml:lang="fr" xml:id="intsplin">
21 <refname>intsplin</refname>
22 <refpurpose>intégration approchée de données expérimentales utilisant une interpolation par une spline.</refpurpose>
25 <title>Séquence d'appel</title>
32 <title>Paramètres</title>
38 vecteur des abscisses (nombres réels), classées par ordre croissant.
39 Il doit avoir autant d'éléments que <literal>y</literal>.
40 Les valeurs par défaut sont <literal>1:size(y,'*')</literal>
47 <para>vecteur des ordonnées, à valeurs réelles ou complexes.
54 <para>valeur de l'approximation de l'intégrale
61 <title>Description</title>
63 Soit <literal>f</literal> une fonction donnée sous forme de valeurs expérimentales
64 échantillonnées <literal>(xi, yi=f(xi))</literal>.
67 <function>intsplin</function> calcule une approximation de <literal>integrale{f(x).dx}</literal>
68 de <literal>x0=x(1)</literal> à <literal>x1=x($)</literal>
71 Entre les points, <literal>f</literal> est approchée à l'aide d'une spline.
75 <title>Exemples</title>
76 <programlisting role="example"><![CDATA[
83 intsplin(x, 1:5) // 1.2
85 intsplin((1:5)*%i) // 12i
86 intsplin(x, (1:5)*%i) // 1.2i
87 intsplin(x, x+(1:5)*%i) // 0.08 + 1.2i
90 <refsection role="see also">
91 <title>Voir aussi</title>
92 <simplelist type="inline">
94 <link linkend="intg">intg</link>
97 <link linkend="intc">intc</link>
100 <link linkend="intl">intl</link>
103 <link linkend="integrate">integrate</link>
106 <link linkend="inttrap">inttrap</link>
109 <link linkend="splin">splin</link>