Bug #8901 fixed - The help page of interp2d iswas unclear about the size of ... 68/9868/3
Sylvestre Ledru [Thu, 29 Nov 2012 13:38:33 +0000 (14:38 +0100)]
Change-Id: I7d7d40f124548a1bf84dbc9f74f5417a4a6cc66f

scilab/CHANGES_5.4.X
scilab/modules/interpolation/help/en_US/interp.xml
scilab/modules/interpolation/help/en_US/interp2d.xml

index 6859ddb..b624aa2 100644 (file)
@@ -102,6 +102,12 @@ Bug fixes
 * Bug #8883 fixed - In some cases, Scilab build from sources was looking for
                    libraries at the wrong place.
 
+* Bug #8964 fixed - The optim_{ga, moga, nsga, nsga2} functions may not create
+                    pop_init.
+
+* Bug #8901 fixed - The help page of interp2d was unclear about the size of
+                    the arguments.
+
 * Bug #9005 fixed - The bitset function did not have any tests.
 
 * Bug #10661 fixed - xmltopdf & xmltopdf were failing in the binary version.
index 568cd88..1fdcdf8 100644 (file)
@@ -93,7 +93,7 @@
             <varlistentry>
                 <term>"C0"</term>
                 <listitem>
-                    <para>the extrapolation is defined as follows :</para>
+                    <para>the extrapolation is defined as follows:</para>
                     <informalequation>
                         <mediaobject>
                             <imageobject>
index 4524c0f..c2cd6bf 100644 (file)
@@ -6,30 +6,59 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
-        <synopsis>[zp[,dzpdx,dzpdy[,d2zpdxx,d2zpdxy,d2zpdyy]]]=interp2d(xp,yp,x,y,C [,out_mode])</synopsis>
+        <synopsis>[zp[, dzpdx, dzpdy[, d2zpdxx, d2zpdxy, d2zpdyy]]]=interp2d(xp, yp, x, y, C [,out_mode])</synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
-                <term>xp, yp</term>
+                <term>xp</term>
                 <listitem>
-                    <para>real vectors or matrices of same size</para>
+                    <para>
+                        a mx-by-my matrix of doubles, the <varname>x</varname> coordinates of the points where the spline is to be evaluated.
+                    </para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>yp</term>
+                <listitem>
+                    <para>
+                        a mx-by-my matrix of doubles, the <varname>y</varname> coordinates of the points where the spline is to be evaluated.
+                    </para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>x</term>
+                <listitem>
+                    <para>
+                        a 1-by-nx matrix of doubles, the <varname>x</varname> coordinate of the interpolation points.
+                        We must have x(i)&lt;x(i+1), for i=1,2,...,nx-1.
+                    </para>
                 </listitem>
             </varlistentry>
+            
             <varlistentry>
-                <term>x,y,C</term>
+                <term>y</term>
                 <listitem>
-                    <para>real vectors defining a bicubic spline or sub-spline function
-                        (called <literal>s</literal> in the following)
+                    <para>
+                        a 1-by-ny matrix of doubles, the <varname>y</varname> coordinate of the interpolation points.
+                        We must have y(i)&lt;y(i+1), for i=1,2,...,ny-1.
+                    </para>
+                </listitem>
+            </varlistentry>
+            
+            <varlistentry>
+                <term>C</term>
+                <listitem>
+                    <para>
+                        The coefficients of the bicubic spline. The input argument of the interp2d function is the output argument of the <link linkend="splin2d">splin2d</link> function.                    
                     </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>out_mode</term>
                 <listitem>
-                    <para>(optional) string defining the evaluation of
-                        <literal>s</literal> outside [x(1),x(nx)]x[y(1),y(ny)]
+                    <para>a 1-by-1 matrix of strings, the evaluation of s outside the range [x(1),x(nx)] by [y(1),y(ny)].
                     </para>
                 </listitem>
             </varlistentry>
                 <term>zp</term>
                 <listitem>
                     <para>
-                        vector or matrix of same format than <literal>xp</literal> and
-                        <literal>yp</literal>, elementwise evaluation of
-                        <literal>s</literal> on these points.
+                        a mx-by-my matrix of doubles, the evaluation of the <varname>z</varname> coordinate of the spline, i.e. zp(i,j)=s(xp(i,j),yp(i,j)), for i=1,2,...,mx and j = 1,2,...,my.
                     </para>
                 </listitem>
             </varlistentry>
+            
             <varlistentry>
-                <term>dzpdx, dzpdy</term>
+                <term>dzpdx</term>
                 <listitem>
-                    <para>vectors (or matrices) of same format than
-                        <literal>xp</literal> and <literal>yp</literal>, elementwise
-                        evaluation of the first derivatives of <literal>s</literal> on these
-                        points.
+                    <para>a mx-by-my matrix of doubles, the first derivative of the spline with
+                        respect to <varname>x</varname>.
                     </para>
                 </listitem>
             </varlistentry>
+            
+            <varlistentry>
+                <term>dzpdy</term>
+                <listitem>
+                    <para>a mx-by-my matrix of doubles, the first derivative of the spline with
+                        respect to <varname>y</varname>.
+                    </para>
+                </listitem>
+            </varlistentry>
+            
+            <varlistentry>
+                <term>d2zpdxx</term>
+                <listitem>
+                    <para>a mx-by-my matrix of doubles, the second derivative of the spline with
+                        respect to <varname>x</varname>.
+                    </para>
+                </listitem>
+            </varlistentry>
+            
+            <varlistentry>
+                <term>d2zpdxy</term>
+                <listitem>
+                    <para> a mx-by-my matrix of doubles, the second derivative of the spline with
+                        respect to <varname>x</varname> and <varname>y</varname>.
+                        
+                    </para>
+                </listitem>
+            </varlistentry>
+            
             <varlistentry>
-                <term>d2zpdxx, d2zpdxy, d2zpdyy</term>
+                <term>d2zpdyy</term>
                 <listitem>
-                    <para>vectors (or matrices) of same format than
-                        <literal>xp</literal> and <literal>yp</literal>, elementwise
-                        evaluation of the second derivatives of <literal>s</literal> on
-                        these points.
+                    <para>a mx-by-my matrix of doubles, the second derivative of the spline with
+                        respect to <varname>y</varname>.
                     </para>
                 </listitem>
             </varlistentry>