Help check: validate the help files on compilation against a derivated docbook schema
[scilab.git] / scilab / modules / elementary_functions / help / en_US / matrixmanipulation / repmat.xml
index 93c8c42..d650d4d 100644 (file)
  * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
  *
  -->
-<refentry version="5.0-subset Scilab" xml:id="repmat" xml:lang="en"
-          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">
+<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" version="5.0-subset Scilab" xml:id="repmat" xml:lang="en">
   <info>
     <pubdate>$LastChangedDate: 2011-01-12  (mer, 12 jan 2011)
     $</pubdate>
   </info>
-
   <refnamediv>
     <refname>repmat</refname>
-
     <refpurpose>Replicate and tile an array</refpurpose>
   </refnamediv>
-
   <refsynopsisdiv>
     <title>Calling Sequence</title>
-
     <synopsis>B = repmat(A,m,n,...)</synopsis>
     <synopsis>B = repmat(A,siz)</synopsis>
     <synopsis>B = repmat(A,m)</synopsis>
   </refsynopsisdiv>
-
   <refsection>
     <title>Arguments</title>
-
     <variablelist>
       <varlistentry>
         <term>A</term>
-
         <listitem>
           <para>input 2D array.</para>
         </listitem>
       </varlistentry>
-
       <varlistentry>
         <term>m, n, ...</term>
         <listitem>
           each dimension of <literal>B</literal>.</para>
         </listitem>
       </varlistentry>
-
       <varlistentry>
         <term>siz</term>
-
         <listitem>
           <para>vector of integer, each element gives the number of
           <literal>A</literal> blocks for corresponding dimension of
           <literal>B</literal>.</para>
         </listitem>
       </varlistentry>
-
-
       <varlistentry>
-        <term>B</term> 
-
+        <term>B</term>
         <listitem>
           <para>resulting array form by tiling the <literal>A</literal> 2D array.</para>
         </listitem>
       </varlistentry>
     </variablelist>
   </refsection>
-
   <refsection>
     <title>Description</title>
-
     <para><literal>repmat(A,m,n)</literal> or similarily
     <literal>repmat(A,[m,n])</literal> returns a large matrix
     consisting of an <literal>m</literal>-by- <literal>n</literal>
     tiling of copies of <literal>A</literal>. The size of the result
     is <literal>[size(A,1)*M, size(A,2)*N]</literal>.</para>
-
     <para><literal>repmat(A,m)</literal> creates an
     <literal>m</literal>-by- <literal>m</literal>tiling.</para>
-
-
     <para><literal>repmat(A,[m n p ...])</literal> tiles the array A to produce a 
     multidimensional array  composed of copies of  <literal>A</literal>. The size of the result is 
-    <literal>[size(A,1)*M, size(A,2)*N, size(A,3)*P, ...] </literal></para>.
-
-
+    <literal>[size(A,1)*M, size(A,2)*N, size(A,3)*P, ...] </literal>.</para>
     <para>For now,only arrays of real, integer, boolean, character
     string, polynomial and rational as well as sparse matrices are
     supported. This function definition can be extended using
     overloading mechanism.</para>
   </refsection>
-
   <refsection>
     <title>Examples</title>
-
     <programlisting role="example"><![CDATA[ 
     repmat(1:3,2,2)
     repmat(int8([1 0 1;0 1 0]),2,3,2)
 
  ]]></programlisting>
   </refsection>
-
   <refsection>
     <title>See Also</title>
-
     <simplelist type="inline">
-      <member><link linkend="matrix">matrix</link></member>
-
-      <member><link linkend="extraction">extraction</link></member>
-
-      <member><link linkend="size">size</link></member>
+      <member>
+        <link linkend="matrix">matrix</link>
+      </member>
+      <member>
+        <link linkend="extraction">extraction</link>
+      </member>
+      <member>
+        <link linkend="size">size</link>
+      </member>
     </simplelist>
   </refsection>
-
   <refsection>
     <title>Authors</title>
-
     <para>Serge Steer, INRIA</para>
   </refsection>
 </refentry>