japanese translation updated for elementary functions. 89/14489/2
Rui Hirokawa [Fri, 2 May 2014 09:39:52 +0000 (18:39 +0900)]
Change-Id: I63144c4251dec9984f96d91f5071f7cbbe5139ee

170 files changed:
scilab/modules/elementary_functions/help/ja_JP/IsAScalar.xml
scilab/modules/elementary_functions/help/ja_JP/and.xml
scilab/modules/elementary_functions/help/ja_JP/and_op.xml
scilab/modules/elementary_functions/help/ja_JP/bitwise/bitor.xml
scilab/modules/elementary_functions/help/ja_JP/bitwise/bitset.xml
scilab/modules/elementary_functions/help/ja_JP/bitwise/bitxor.xml
scilab/modules/elementary_functions/help/ja_JP/bitwise/isequalbitwise.xml
scilab/modules/elementary_functions/help/ja_JP/cat.xml
scilab/modules/elementary_functions/help/ja_JP/cell2mat.xml
scilab/modules/elementary_functions/help/ja_JP/cellstr.xml
scilab/modules/elementary_functions/help/ja_JP/complex/conj.xml
scilab/modules/elementary_functions/help/ja_JP/complex/imag.xml
scilab/modules/elementary_functions/help/ja_JP/complex/imult.xml
scilab/modules/elementary_functions/help/ja_JP/complex/isreal.xml
scilab/modules/elementary_functions/help/ja_JP/complex/real.xml
scilab/modules/elementary_functions/help/ja_JP/discrete/factor.xml
scilab/modules/elementary_functions/help/ja_JP/discrete/gcd.xml
scilab/modules/elementary_functions/help/ja_JP/discrete/lcm.xml
scilab/modules/elementary_functions/help/ja_JP/discrete/perms.xml
scilab/modules/elementary_functions/help/ja_JP/discrete/primes.xml
scilab/modules/elementary_functions/help/ja_JP/discrete/rat.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/diag.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/eye.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/ind2sub.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/meshgrid.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/ndgrid.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/ones.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/rand.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/squarewave.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/sub2ind.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/testmatrix.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/toeplitz.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/zeros.xml
scilab/modules/elementary_functions/help/ja_JP/exponential/exp.xml
scilab/modules/elementary_functions/help/ja_JP/exponential/expm.xml
scilab/modules/elementary_functions/help/ja_JP/exponential/log.xml
scilab/modules/elementary_functions/help/ja_JP/exponential/log10.xml
scilab/modules/elementary_functions/help/ja_JP/exponential/log1p.xml
scilab/modules/elementary_functions/help/ja_JP/exponential/log2.xml
scilab/modules/elementary_functions/help/ja_JP/exponential/logm.xml
scilab/modules/elementary_functions/help/ja_JP/exponential/polar.xml
scilab/modules/elementary_functions/help/ja_JP/exponential/sqrt.xml
scilab/modules/elementary_functions/help/ja_JP/exponential/sqrtm.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/ceil.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/clean.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/double.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/fix.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/floor.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/format.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/frexp.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/ieee.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/int.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/isinf.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/isnan.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/nearfloat.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/nextpow2.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/number_properties.xml
scilab/modules/elementary_functions/help/ja_JP/floating_point/round.xml
scilab/modules/elementary_functions/help/ja_JP/integer_representation/base2dec.xml
scilab/modules/elementary_functions/help/ja_JP/integer_representation/bin2dec.xml
scilab/modules/elementary_functions/help/ja_JP/integer_representation/dec2bin.xml
scilab/modules/elementary_functions/help/ja_JP/integer_representation/dec2hex.xml
scilab/modules/elementary_functions/help/ja_JP/integer_representation/dec2oct.xml
scilab/modules/elementary_functions/help/ja_JP/integer_representation/hex2dec.xml
scilab/modules/elementary_functions/help/ja_JP/integer_representation/oct2dec.xml
scilab/modules/elementary_functions/help/ja_JP/iscolumn.xml
scilab/modules/elementary_functions/help/ja_JP/isempty.xml
scilab/modules/elementary_functions/help/ja_JP/isequal.xml
scilab/modules/elementary_functions/help/ja_JP/ismatrix.xml
scilab/modules/elementary_functions/help/ja_JP/isrow.xml
scilab/modules/elementary_functions/help/ja_JP/isscalar.xml
scilab/modules/elementary_functions/help/ja_JP/issquare.xml
scilab/modules/elementary_functions/help/ja_JP/isvector.xml
scilab/modules/elementary_functions/help/ja_JP/lstsize.xml
scilab/modules/elementary_functions/help/ja_JP/matrixmanipulation/matrix.xml
scilab/modules/elementary_functions/help/ja_JP/matrixmanipulation/permute.xml
scilab/modules/elementary_functions/help/ja_JP/matrixmanipulation/pertrans.xml
scilab/modules/elementary_functions/help/ja_JP/matrixmanipulation/resize_matrix.xml
scilab/modules/elementary_functions/help/ja_JP/matrixmanipulation/squeeze.xml
scilab/modules/elementary_functions/help/ja_JP/matrixoperations/abs.xml
scilab/modules/elementary_functions/help/ja_JP/matrixoperations/cumprod.xml
scilab/modules/elementary_functions/help/ja_JP/matrixoperations/cumsum.xml
scilab/modules/elementary_functions/help/ja_JP/matrixoperations/max.xml
scilab/modules/elementary_functions/help/ja_JP/matrixoperations/min.xml
scilab/modules/elementary_functions/help/ja_JP/matrixoperations/norm.xml
scilab/modules/elementary_functions/help/ja_JP/matrixoperations/prod.xml
scilab/modules/elementary_functions/help/ja_JP/matrixoperations/signm.xml
scilab/modules/elementary_functions/help/ja_JP/matrixoperations/sum.xml
scilab/modules/elementary_functions/help/ja_JP/matrixoperations/tril.xml
scilab/modules/elementary_functions/help/ja_JP/ndims.xml
scilab/modules/elementary_functions/help/ja_JP/nthroot.xml
scilab/modules/elementary_functions/help/ja_JP/num2cell.xml
scilab/modules/elementary_functions/help/ja_JP/searchandsort/dsearch.xml
scilab/modules/elementary_functions/help/ja_JP/searchandsort/find.xml
scilab/modules/elementary_functions/help/ja_JP/searchandsort/gsort.xml
scilab/modules/elementary_functions/help/ja_JP/searchandsort/lex_sort.xml
scilab/modules/elementary_functions/help/ja_JP/searchandsort/vectorfind.xml
scilab/modules/elementary_functions/help/ja_JP/setoperations/intersect.xml
scilab/modules/elementary_functions/help/ja_JP/setoperations/members.xml
scilab/modules/elementary_functions/help/ja_JP/setoperations/setdiff.xml
scilab/modules/elementary_functions/help/ja_JP/setoperations/union.xml
scilab/modules/elementary_functions/help/ja_JP/setoperations/unique.xml
scilab/modules/elementary_functions/help/ja_JP/sign.xml
scilab/modules/elementary_functions/help/ja_JP/signalprocessing/bloc2exp.xml
scilab/modules/elementary_functions/help/ja_JP/signalprocessing/bloc2ss.xml
scilab/modules/elementary_functions/help/ja_JP/signalprocessing/pen2ea.xml
scilab/modules/elementary_functions/help/ja_JP/signalprocessing/ssrand.xml
scilab/modules/elementary_functions/help/ja_JP/signalprocessing/sysconv.xml
scilab/modules/elementary_functions/help/ja_JP/signalprocessing/sysdiag.xml
scilab/modules/elementary_functions/help/ja_JP/signalprocessing/trfmod.xml
scilab/modules/elementary_functions/help/ja_JP/size.xml
scilab/modules/elementary_functions/help/ja_JP/symbolic/addf.xml
scilab/modules/elementary_functions/help/ja_JP/symbolic/cmb_lin.xml
scilab/modules/elementary_functions/help/ja_JP/symbolic/ldivf.xml
scilab/modules/elementary_functions/help/ja_JP/symbolic/mulf.xml
scilab/modules/elementary_functions/help/ja_JP/symbolic/rdivf.xml
scilab/modules/elementary_functions/help/ja_JP/symbolic/solve.xml
scilab/modules/elementary_functions/help/ja_JP/symbolic/subf.xml
scilab/modules/elementary_functions/help/ja_JP/symbolic/trisolve.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acos.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acosd.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acosh.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acoshm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acosm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acot.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acotd.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acoth.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acsc.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acscd.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/acsch.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/asec.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/asecd.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/asech.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/asin.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/asind.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/asinh.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/asinhm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/asinm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/atan.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/atand.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/atanh.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/atanhm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/atanm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/cos.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/cosd.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/cosh.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/coshm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/cosm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/cotd.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/cotg.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/coth.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/cothm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/csc.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/cscd.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/csch.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/csgn.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/sec.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/secd.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/sech.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/sin.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/sinc.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/sind.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/sinh.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/sinhm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/sinm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/tan.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/tand.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/tanh.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/tanhm.xml
scilab/modules/elementary_functions/help/ja_JP/trigonometry/tanm.xml

index e68abd6..c7530bd 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2013 - Scilab Enterprises
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="IsAScalar" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>IsAScalar</refname>
+        
         <refpurpose>
+            
             変数がスカラーかどうかを確認. <emphasis role="bold">この関数は廃止予定です.</emphasis> 
+            
         </refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>t=IsAScalar(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>ベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>t</term>
+                
                 <listitem>
+                    
                     <para>論理値</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <varname>x</varname>がスカラー
+            
             (size(<varname>x</varname>が1, type(<varname>x</varname>,1) も 1)の場合,
+            
             <literal>
+                
                 IsAScalar(<varname>x</varname>)
+                
             </literal>
+            
             は true を返します.
+            
             <warning>この関数は廃止予定です.</warning>
+            
             <code>IsAScalar</code>の代わりに 
+            
             <link linkend="isscalar">isscalar</link>を推奨します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 IsAScalar(ones(10,10))
 IsAScalar(1)
 IsAScalar("s")
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection>
+        
         <title>履歴</title>
+        
         <revhistory>
+            
             <revision>
+                
                 <revnumber>5.5.0</revnumber>
+                
                 <revdescription>
+                    
                     この関数は廃止予定です.
+                    
                     5.5.1では削除されます. 
+                    
                     代わりに<link linkend="isscalar">isscalar</link>を使用してください.
+                    
                 </revdescription>
+                
             </revision>
+            
         </revhistory>
+        
     </refsection>
+    
 </refentry>
+
index f8a072e..c3d9728 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="and" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>and</refname>
-        <refpurpose>論理積, 配列の要素</refpurpose>
+        
+        <refpurpose>配列の要素の論理積</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
-        <synopsis>b=and(A), b=and(A,'*')
-            b=and(A,'r'), b=and(A,1)
-            b=and(A,'c'), b=and(A,2)
+        
+        <synopsis>b=and(A)
+            
+            b=and(A,'*')
+            
+            b=and(A,'r')
+            
+            b=and(A,1)
+            
+            b=and(A,'c')
+            
+            b=and(A,2)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>and(A)</literal> は, 論理値行列の要素の論理積 AND です. 
+            
+            <literal>and(A)</literal> は, 論理値行列<literal>A</literal>の
+            
+            要素の論理積(AND)です. 
+            
             <literal>A</literal>の全エントリが <literal>%T</literal> である場合にのみ
+            
             <literal>and(A)</literal> は<literal>%T</literal> ("true")
+            
             となります.
+            
         </para>
+        
         <para>
-            <literal>y=and(A,'r')</literal> (または, 等価的に
+            
+            <literal>and([])</literal> は <literal>%T</literal>を返します.
+            
+        </para>
+        
+        <para>
+            
+            <literal>y=and(A,'r')</literal> (または, 等価な
+            
             <literal>y=and(A,1)</literal>) は行方向の論理積です. 
-              行ベクトル <literal>y</literal> の各エントリに,
+            
+            行ベクトル <literal>y</literal> の各エントリに,
+            
             <literal>x</literal>の各行の論理積を返します.
+            
             (この and は次のように行添え字に関して行われます :
+            
             <literal>y(j)= and(A(i,j),i=1,m)</literal>).
+            
         </para>
+        
         <para>
-            <literal>y=and(A,'c')</literal> (または, 等価的に
+            
+            <literal>y=and(A,'c')</literal> (または, 等価な
+            
             <literal>y=and(A,2)</literal>) は列方向の論理積です. 
+            
             列ベクトル<literal>y</literal>の各エントリに,
+            
             <literal>x</literal>の各列の論理積を返します.
+            
             返します.
-            (このandは次のように列添え字に関して行われます:<literal>y(i)= and(A(i,j),j=1,n)</literal>)
+            
+            (このandは次のように列添え字に関して行われます:
+            
+            <literal>y(i)= and(A(i,j),j=1,n)</literal>)
+            
         </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+A = [];
+and(A)
+
+A = %T(ones(1, 3));
+and(A)
+
+A = %F(ones(1, 3));
+and(A)
+
+A = %T(ones(1, 3));
+and(A, '*')
+and(A, 'c')
+and(A, 2)
+and(A, 'r')
+and(A, 1)
+
+ ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="not">not</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="and_op">and 演算子 (&amp;) </link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="or">or</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index fc3a845..8256092 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="and_op" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>&amp;</refname>
+        
         <refpurpose>論理積演算子</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>A&amp;B</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>A&amp;B</literal> は,
+            
             論理値行列 <literal>A</literal>および<literal>B</literal>の
+            
             要素毎の論理 <literal>and</literal>です.
+            
             <literal>A</literal> および <literal>B</literal> は
+            
             同じ次元を有する行列または
+            
             どちらかが単一の論理値である必要があります.
+            
         </para>
+        
     </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+[%t %t %f] & [%f %t %t]
+[%t %t %f] & %f
+[%t %t %f] & %t
+ ]]></programlisting>
+        
+    </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="not">not</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="and">and</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="or_op">or operator (|)</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 6872a87..b0f732a 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * 
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  * 
  -->
+
 <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="bitor" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>bitor</refname>
+        
         <refpurpose>ビット単位の論理和(OR)</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>
+            
             z = bitor(x,y)
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x :</term>
+                
                 <listitem>
+                    
                     <para>
-                        m行n列の行列(double)またはm1 x m2 x ... x mm ハイパー行列(double)
-                        または符合なし整数(uint8, uint16 または uint32)の
-                        m行n列行列.値は正の整数値である必要があります.
+                        
+                        <literal>m</literal>行<literal>n</literal>列の行列(double)
+                        
+                        または<literal>m1</literal> x <literal>m2</literal> x ... x <literal>mm</literal>
+                        
+                        ハイパー行列(double)
+                        
+                        または符合なし整数(<literal>uint8</literal>, <literal>uint16</literal>または
+                        
+                        <literal>uint32</literal>)の<literal>m</literal>行<literal>n</literal>列行列.
+                        
+                        値は正の整数値である必要があります.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y :</term>
+                
                 <listitem>
+                    
                     <para>
-                        m行n列の行列(double)またはm1 x m2 x ... x mm ハイパー行列(double)
-                        または符合なし整数(uint8, uint16 または uint32)の
-                        m行n列行列.値は正の整数値である必要があります.
+                        
+                        <literal>m</literal>行<literal>n</literal>列の行列(double)
+                        
+                        または<literal>m1</literal> x <literal>m2</literal> x ... x <literal>mm</literal>           
+                        
+                        ハイパー行列(double)
+                        
+                        または符合なし整数(<literal>uint8</literal>, <literal>uint16</literal>または
+                        
+                        <literal>uint32</literal>)の<literal>m</literal>行<literal>n</literal>列行列.
+                        
+                        値は正の整数値である必要があります.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>z :</term>
+                
                 <listitem>
+                    
                     <para>
-                        m行n列の行列(double)またはm1 x m2 x ... x mm ハイパー行列(double)
-                        または符合なし整数.
+                        
+                        <literal>m</literal>行<literal>n</literal>列の行列(double)
+                        
+                        または<literal>m1</literal> x <literal>m2</literal> x ... x <literal>mm</literal>
+                        
+                        ハイパー行列(double)
+                        
+                        または<literal>m</literal>行<literal>n</literal>列の整数の行列.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            2つの正の整数 x および y を指定すると,この関数は2進形式が
-            x および y の2進形式の論理和となるような10進数を返します.
+            
+            2つの正の整数<varname>x</varname>および<varname>y</varname>を指定すると,この関数は2進形式が
+            
+            <varname>x</varname>および<varname>y</varname>の2進形式の論理和となるような
+            
+            10進数<varname>z</varname>を返します.
+            
         </para>
+        
         <para>
-            <literal>x</literal>,
-            <literal>y</literal>, <literal>z</literal> の大きさは同じです. 
+            
+            <varname>x</varname>, <varname>y</varname>, <varname>z</varname> 
+            
+            の大きさは同じです. 
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
 // '110000' : is the binary representation of 48 
 // '100101' : is the binary representation of 37   
@@ -101,19 +178,36 @@ y = uint8([0 0 1 1]);
 bitor(uint8(13), uint8(27))
 bitor(13, 27)
    ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="bitand">bitand</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="bin2dec">bin2dec</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="dec2bin">dec2bin</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 2e7af6b..c294238 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * 
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  * 
  -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="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="bitset" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>bitset</refname>
+        
         <refpurpose>指定した位置のビットを設定</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>
-            y = bitset(x,pos)
-            y = bitset(x,pos,v)
+            
+            y = bitset(x, pos)
+            
+            y = bitset(x, pos, v)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x :</term>
+                
                 <listitem>
+                    
                     <para>
-                        m行n列の行列(double)またはm1 x m2 x ... x mm ハイパー行列(double)
-                        または符合なし整数(uint8, uint16 または uint32)の
-                        m行n列行列.値は正の整数値である必要があります.
+                        
+                        <literal>m</literal>行<literal>n</literal>列の行列(double)
+                        
+                        または<literal>m1</literal> x <literal>m2</literal> x ... x <literal>mm</literal>
+                        
+                        ハイパー行列(double)
+                        
+                        または符合なし整数(<literal>uint8</literal>, <literal>uint16</literal>または
+                        
+                        <literal>uint32</literal>)の<literal>m</literal>行<literal>n</literal>列行列.
+                        
+                        値は正の整数値である必要があります.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>pos :</term>
+                
                 <listitem>
+                    
                     <para>
-                        m行n列の行列(double)またはm1 x m2 x ... x mm ハイパー行列(double)
-                        または符合なし整数(uint8, uint16 または uint32)のm行n列行列.
-                        入力 <literal>pos</literal> は 1,2,...,bitmaxの範囲とする
-                        必要があります.ただし, bitmax は x の最大ビット数です.
+                        
+                        <literal>m</literal>行<literal>n</literal>列の行列(double)
+                        
+                        または<literal>m1</literal> x <literal>m2</literal> x ... x <literal>mm</literal>
+                        
+                        ハイパー行列(double)
+                        
+                        または符合なし整数(<literal>uint8</literal>, <literal>uint16</literal>または
+                        
+                        <literal>uint32</literal>)の<literal>m</literal>行<literal>n</literal>列行列.
+                        
                         値は正の整数値である必要があります.
+                        
+                        入力 <literal>pos</literal> は 1,2,...,<literal>bitmax</literal>の範囲とする
+                        
+                        必要があります.ただし,<literal>bitmax</literal>は<varname>x</varname>
+                        
+                        の最大ビット数です.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>v :</term>
+                
                 <listitem>
+                    
                     <para>
-                        m行n列の行列(double)またはm1 x m2 x ... x mm ハイパー行列(double)
-                        または符合なし整数(uint8, uint16 または uint32)の
-                        m行n列行列.値は正の整数値である必要があります.
+                        
+                        <literal>m</literal>行<literal>n</literal>列の行列(double)
+                        
+                        または<literal>m1</literal> x <literal>m2</literal> x ... x <literal>mm</literal>
+                        
+                        ハイパー行列(double)
+                        
+                        または符合なし整数(<literal>uint8</literal>, <literal>uint16</literal>または
+                        
+                        <literal>uint32</literal>)の<literal>m</literal>行<literal>n</literal>列行列.
+                        
+                        デフォルトで<varname>v</varname><literal>=1</literal>です.
+                        
+                        値は正の整数値である必要があります.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y :</term>
+                
                 <listitem>
+                    
                     <para>
-                        m行n列の行列(double)またはm1 x m2 x ... x mm ハイパー行列(double)
-                        または符合なし整数.
+                        
+                        <literal>m</literal>行<literal>n</literal>列の行列(double)
+                        
+                        または<literal>m1</literal> x <literal>m2</literal> x ... x <literal>mm</literal>
+                        
+                        ハイパー行列(double)
+                        
+                        または<literal>m</literal>行<literal>n</literal>列の符号無し整数の行列.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            指定した位置のビットを設定します.
+            
+            指定した位置<varname>pos</varname>のビットを設定します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
-// 9 is (01001)_2
-// We set the 5th bit to 1, which gives
-//      (11001)_2 producing 25
+// 9 は (01001)_2 です
+// 5番目のビットを1に設定し, 
+//      (11001)_2 ( = 25)とします
 bitset(uint8(9), 5)
 expected = 25
-// Set the 5th bit of 25 to 0.
+
+// 25の5番目のビットを0に設定
 bitset(uint8(25), 5, 0)
 expected = 9
-// The input can be a positive double
+
+// 入力は正のdoubleにすることができます
 bitset(25, 5, 0)
 expected = 9
    ]]></programlisting>
+        
     </refsection>
+    
 </refentry>
+
index c01b32f..7877155 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * 
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  * 
  -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="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="bitxor" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>bitxor</refname>
+        
         <refpurpose>ビット単位の排他的論理和(XOR)</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>
-            z = bitxor(x,y)
+            
+            z = bitxor(x, y)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x :</term>
+                
                 <listitem>
+                    
                     <para>
-                        m行n列の行列(double)またはm1 x m2 x ... x mm ハイパー行列(double)
-                        または符合なし整数(uint8, uint16 または uint32)の
-                        m行n列行列.値は正の整数値である必要があります.
+                        
+                        <literal>m</literal>行<literal>n</literal>列の行列(double)
+                        
+                        または<literal>m1</literal> x <literal>m2</literal> x ... x <literal>mm</literal>
+                        
+                        ハイパー行列(double)
+                        
+                        または符合なし整数(<literal>uint8</literal>, <literal>uint16</literal>または
+                        
+                        <literal>uint32</literal>)の<literal>m</literal>行<literal>n</literal>列行列.
+                        
+                        値は正の整数値である必要があります.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y :</term>
+                
                 <listitem>
+                    
                     <para>
-                        m行n列の行列(double)またはm1 x m2 x ... x mm ハイパー行列(double)
-                        または符合なし整数(uint8, uint16 または uint32)の
-                        m行n列行列.値は正の整数値である必要があります.
+                        
+                        <literal>m</literal>行<literal>n</literal>列の行列(double)
+                        
+                        または<literal>m1</literal> x <literal>m2</literal> x ... x <literal>mm</literal>
+                        
+                        ハイパー行列(double)
+                        
+                        または符合なし整数(<literal>uint8</literal>, <literal>uint16</literal>または
+                        
+                        <literal>uint32</literal>)の<literal>m</literal>行<literal>n</literal>列行列.
+                        
+                        値は正の整数値である必要があります.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>z :</term>
+                
                 <listitem>
+                    
                     <para>
-                        m行n列の行列(double)またはm1 x m2 x ... x mm ハイパー行列(double)
-                        または符合なし整数.
+                        
+                        <literal>m</literal>行<literal>n</literal>列の行列(double)
+                        
+                        または<literal>m1</literal> x <literal>m2</literal> x ... x <literal>mm</literal>
+                        
+                        ハイパー行列(double)
+                        
+                        または<literal>m</literal>行<literal>n</literal>列の符号無し整数の行列.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            2つの正の整数 x および y を指定すると,この関数は2進形式が
-            x および y の2進形式の排他的論理和となるような10進数を返します.
+            
+            2つの正の整数<varname>x</varname>および<varname>y</varname>を指定すると,
+            
+            この関数は2進形式が
+            
+            <varname>x</varname>および <varname>y</varname>の2進形式の排他的論理和
+            
+            となるような10進数<varname>z</varname>を返します.
+            
         </para>
+        
         <para>
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
-// Compute the bitwise XOR of two matrices of doubles.
+// 2つのdouble行列のビット毎のXORを計算
 x = [0 1 0 1];
 y = [0 0 1 1];
 z = bitxor(x, y)
 expected = [0 1 1 1];
-// Compute the bitwise XOR of two matrices of integers.
+
+// 2つの整数行列のビット毎のXORを計算
 x = uint8([0 1 0 1]);
 y = uint8([0 0 1 1]);
 z = bitxor(x, y)
-// The types of x and y cannot be mixed (error).
+
+// xとyの型を混在できません (エラー).
 x = [0 1 0 1];
 y = uint8([0 0 1 1]);
 // z = bitxor(x, y)
-//  13 is (01101)_2
-//  27 is (11011)_2
-// XOR is (10110)_2 which is 22.
+
+//  13 は (01101)_2 です
+//  27 は (11011)_2 です
+// XOR は (10110)_2 , つまり 22です.
 bitxor(uint8(13), uint8(27))
 bitxor(13, 27)
+
    ]]></programlisting>
+        
     </refsection>
+    
 </refentry>
+
index 5e76486..939214f 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="isequalbitwise" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>isequalbitwise</refname>
+        
         <refpurpose>ビット単位の変数比較</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>t=isequalbitwise(a,b)
+            
             t=isequalbitwise(a,b,..)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>a, b , ...</term>
+                
                 <listitem>
+                    
                     <para>任意の型の変数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>t</term>
+                
                 <listitem>
+                    
                     <para>論理値</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>isequalbitwise</literal> は引数を比較します. 
+            
             引数全てが等しい場合,関数は <literal> %t</literal>を返し,
+            
             その他の場合 <literal> %f</literal>を返します.
+            
         </para>
+        
         <para>リスト,構造体,...を比較する場合,
+            
             比較は再帰的,フィールドの順に行われます.
+            
         </para>
+        
         <para>
+            
             浮動小数点数のデータはビット単位で比較されます.
+            
             すなわち, NaN 値は等しくなく,
+            
             double(1) と int32(1)は等しくありません.
+            
             IEEE比較については,<link linkend="isequal">isequal</link>を参照ください.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 a=list(1:5,%s+1,'ABCDEFG');
 isequalbitwise(a,a)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="isequal">isequal</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 5151307..406077a 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA - Farid BELAHCENE
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="cat" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>cat</refname>
+        
         <refpurpose>複数の配列を結合する</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=cat(dims,A1,A2,...,An)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>dims</term>
+                
                 <listitem>
+                    
                     <para>正の実数スカラー.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>A1,A2,..An</term>
+                
                 <listitem>
-                    <para>スカラー, ベクトル, 行列または多次元配列, またはセル配列.
-                        A1,A2,...,An は(次元 dims を除き)同じ大きさとなります.
-                        dims 以外の i について
-                        size(A1,i)=size(A2,i)=...=size(An,i)とし,
-                        size(A1,dims), size(A2,dims),...,size(An,dims)は異なる数と
-                        することができます.
+                    
+                    <para>
+                        
+                        スカラー, ベクトル, 行列または多次元配列, またはセル配列.
+                        
+                        <literal>A1,A2,...,An</literal>は
+                        
+                        (次元<literal>dims</literal>を除き)同じ大きさとなります.
+                        
+                        <literal>dims</literal>以外の<literal>i</literal>について
+                        
+                        <literal>size(A1,i)=size(A2,i)=...=size(An,i)</literal>
+                        
+                        であり,
+                        
+                        <literal>size(A1,dims), size(A2,dims),...,size(An,dims)</literal>
+                        
+                        は異なる数とすることができます.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
-                    <para>スカラー, ベクトル, 行列またはセル配列, y は
-                        than A1,A2,...,Anと同じ型となります.
+                    
+                    <para>
+                        
+                        スカラー, ベクトル, 行列またはセル配列, <literal>y</literal> は
+                        
+                        <literal>A1,A2,...,An</literal>と同じ型となります.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>y=cat(dims,A1,A2,...,An) :</literal> y は,
-            入力引数A1,A2,...,Anを結合したものとなります.
-            dims=1の場合,
+            
+            <literal>y=cat(dims,A1,A2,...,An)</literal>:
+            
+            <literal>y</literal> は,入力引数<literal>A1,A2,...,An</literal>
+            
+            を結合したものとなります.
+            
+        </para>
+        
+        <para>
+            
+            <literal>dims=1</literal>の場合,
+            
             結合は行方向に行われます.
-            dims=2の場合,結合は入力引数の列方向に行われます,...
+            
+        </para>
+        
+        <para>
+            
+            <literal>A1=[1 2 3 ; 4 5 6]</literal>; <literal>A2=[7 8 9 ; 10 11 12]</literal>; <literal>y=cat(1,A1,A2)</literal> =&gt; <literal>y=[1
+                
+                2 3 ; 4 5 6 ;7 8 9; 10 11 12]
+                
+            </literal>
+            
+            .     
+            
         </para>
-        <para> dims=1の場合, 結合は行方向に行われます</para>
-        <para>A1=[1 2 3 ; 4 5 6]; A2=[7 8 9 ; 10 11 12]; y=cat(1,A1,A2) =&gt; y=[1
-            2 3 ; 4 5 6 ;7 8 9; 10 11 12]
+        
+        <para>
+            
+            <literal>dims=2</literal>の場合,結合は入力引数の列方向に行われます,...
+            
         </para>
-        <para>dims=2の場合, 結合は入力引数の列方向に行われます.</para>
-        <para>A1=[1 2 3;4 5 6]; A2=[7 8 9 ;10 11 12]; y=cat(2,A1,A2) =&gt; y=[1 2
-            3 7 8 9 ; 4 5 6 10 11 12]
+        
+        <para>
+            
+            <literal>A1=[1 2 3;4 5 6]</literal>; <literal>A2=[7 8 9 ;10 11 12]</literal>; <literal>y=cat(2,A1,A2)</literal> =&gt; <literal>y=[1 2
+                
+                3 7 8 9 ; 4 5 6 10 11 12]
+                
+            </literal>
+            
+            .
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 // first example : concatenation according to the rows 
 dims=1; A1=[1 2 3]; A2=[4 5 6 ; 7 8 9]; A3=[10 11 12]; y=cat(dims,A1,A2,A3)
@@ -78,16 +166,30 @@ dims=2; A1=[1 2 3]'; A2=[4 5;7 8;9 10]; y=cat(dims,A1,A2)
 // third example : concatenation according to the 3th dimension 
 dims=3; A1=matrix(1:12,[2,2,3]); A2=[13 14;15 16]; A3=matrix(21:36,[2,2,4]); y=cat(dims,A1,A2,A3)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="permute">permute</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="matrix">matrix</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 34f2a08..71bfabb 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="cell2mat" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>cell2mat</refname>
+        
         <refpurpose>セル配列を行列に変換</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>x=cell2mat(c)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>c</term>
+                
                 <listitem>
-                    <para>セル, c の要素は同じ型を有し,
+                    
+                    <para>
+                        セル, <literal>c</literal>の要素は同じ型を有し,
+                        
                         スカラーまたは行列とすることができます
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
-        <para>セルcの全ての要素を結合した行列を返します.</para>
-        <variablelist>
-            <varlistentry>
-                <term>cell2mat(c)</term>
-                <listitem>
-                    <para>cの全ての要素は同じデータ型(文字列またはdoubleまたは整数または論理値)を
-                        有する必要があります.
-                        <literal>c</literal>の各行 <literal>i</literal>について,
-                        <literal>cell2mat</literal>はセル<literal>c</literal>の
-                        <literal>i</literal>行目の全ての要素を結合します.
-                    </para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
+        
         <para>
-            セル入力<literal>c</literal>の要素が文字列の場合,
-            <literal>cell2mat(c)</literal> は文字列を結合した列ベクトル
-            を返すことに注意してください.
+            
+            cell2mat(c) は,セル配列<literal>c</literal>の
+            
+            全ての要素を結合した行列を返します.
+            
         </para>
+        
+        <para>
+            
+            <literal>c</literal>の全ての要素は同じデータ型(文字列またはdoubleまたは
+            
+            整数または論理値)を有する必要があります.
+            
+            <literal>c</literal>の各行<literal>i</literal> について,
+            
+            <literal>cell2mat</literal>はセル配列<literal>c</literal>の
+            
+            <literal>i</literal>行目の全ての要素を結合します.
+            
+        </para>
+        
+        <para>
+            
+            <note>
+                
+                セル入力<literal>c</literal>の要素が文字列の場合,
+                
+                <literal>cell2mat(c)</literal> は文字列を結合した列ベクトル
+                
+                を返すことに注意してください.
+                
+            </note>
+            
+        </para>
+        
+        <para>
+            
+        </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 c=makecell([2,2],[1 2 3; 6 7 8],[4 5;9 10],[11 12;16 17],[14 13 15;18 19 20])
 cell2mat(c)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="cell">cell</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="makecell">makecell</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index d847e08..8718f0f 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="cellstr" xml:lang="en">
+    
     <refnamediv>
+        
         <refname>cellstr</refname>
+        
         <refpurpose>文字列ベクトル(または文字列行列)を文字列のセルに変換</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>c=cellstr(s)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>s</term>
+                
                 <listitem>
+                    
                     <para>文字列ベクトル, または文字列行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>文字列のセル配列を返します.</para>
+        
         <itemizedlist>
+            
             <listitem>
+                
                 <para>
+                    
                     <literal>s</literal>が文字列の線ベクトルの場合,
+                    
                     <literal>cellstr(s)</literal> は,
+                    
                     1つの要素(<literal>s</literal>の全ての列要素の結合)を含む
-                    <literal>(1×1)</literal> のセルとなります.
+                    
+                    <literal>(1×1)</literal> の配列セルとなります.
+                    
                 </para>
+                
             </listitem>
+            
             <listitem>
+                
                 <para>
+                    
                     <literal>s</literal> が文字列の列ベクトルの場合,
+                    
                     <literal>cellstr(s)</literal>は s を同じ大きさのセル
+                    
                     に変換します: 文字列の<literal>(size(s,1)×1)</literal>セル
+                    
                 </para>
+                
             </listitem>
+            
             <listitem>
+                
                 <para>
+                    
                     <literal>s</literal> が行列の場合,<literal>s</literal>の
+                    
                     各<literal>i</literal> 行目は文字列の行列になり,
+                    
                     <literal>cellstr(s)</literal>は全て行列 <literal>s</literal>の
+                    
                     i番目の行の要素(すなわち s(i,1), s(i,2), s(i,3),...)を結合したものになり,
+                    
                     <literal>(size(s,1)×1)</literal>の文字列のセルを返します.
+                    
                 </para>
+                
             </listitem>
+            
         </itemizedlist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 cellstr("foo")
 cellstr(["sci","lab"])
 cellstr(["abc","def",'gh';"i","j","klm"])
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="cell">cell</link>
+                
             </member>
+            
             <member>
+                
+                <link linkend="makecell">makecell</link>
+                
+            </member>
+            
+            <member>
+                
                 <link linkend="string">string</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 4264b45..f71f399 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="conj" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>conj</refname>
+        
         <refpurpose>共役</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[y]=conj(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x,y</term>
+                
                 <listitem>
-                    <para>実数または複素行列.</para>
+                    
+                    <para>実数または複素行列(通常または疎記憶).</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>conj(x)</literal> は <literal>x</literal>の
+            
             複素共役である.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 x=[1+%i,-%i;%i,2*%i];
 conj(x)
-x'-conj(x)  //x'  is conjugate transpose
+x'-conj(x)  //x' は共役転置
  ]]></programlisting>
+        
     </refsection>
+    
 </refentry>
+
index 9202201..450b5cc 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="imag" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>imag</refname>
+        
         <refpurpose>虚部</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[y]=imag(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数のベクトルまたは行列.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>実数のベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>imag(x)</literal> は
-            <literal>x</literal>の虚部です. ( 複素数を入力するには<literal>%i</literal> を参照ください).
+            
+            <code>imag(x)</code>は,
+            
+            <varname>x</varname>の虚部です. ( 複素数を入力するには<constant>%i</constant>を参照ください).
+            
         </para>
+        
     </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[ 
+imag([1 %i 2])
+imag(1+0*%i)
+imag(2+3*%i)
+imag(1+%s)
+imag(sprand(3,3,0.1))
+ ]]></programlisting>
+        
+    </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="real">real</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index a3d7ca1..0d5d2c3 100644 (file)
@@ -1,44 +1,87 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <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="imult" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>imult</refname>
+        
         <refpurpose>虚数単位 i を乗じる</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y = imult(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数のスカラー,ベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>複素数のスカラー,ベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <code>imult(x)</code> は,
-            <varname>x</varname> が <constant>%inf</constant> や <constant>%nan</constant>のような "特殊な"浮動小数点数からなる時に
-            発生する問題を生じることなく,
-            <code>y = %i*x</code> よりも効率的に <literal>x x i</literal> を実行します.
+            
+            <varname>x</varname> が <constant>%inf</constant> や <constant>%nan</constant>
+            
+            のような "特殊な"浮動小数点数を含む時に発生する問題を生じることなく,
+            
+            <code>y = %i*x</code> よりも効率的に <varname>x</varname> x <varname>i</varname>
+            
+            を実行します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 z1 = imult(%inf)
 z2 = %i * %inf
  ]]></programlisting>
+        
     </refsection>
+    
 </refentry>
+
index 2e56668..fd1574a 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="isreal" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>isreal</refname>
+        
         <refpurpose>変数が実数または複素数のエントリかどうかを調べるc</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>t=isreal(x)
+            
             t=isreal(x,eps)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         浮動小数点数のエントリまたは係数を有するベクトルまたは行列
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>t</term>
+                
                 <listitem>
+                    
                     <para>論理値</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>isreal(x)</literal> は,
+            
             <literal>x</literal>が実数変数として保持されている場合に真,
+            
             <literal>x</literal>に虚部(0の場合もある)を保持する変数の場合に偽
+            
             を返します.
+            
         </para>
+        
         <para>
+            
             <literal>isreal(x,eps)</literal> は
+            
             <literal>x</literal>が実数変数として保持されているか,
+            
             虚部の浮動小数点数の絶対値の最大値が <literal>eps</literal>以下の場合に
+            
             真を返します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 isreal([1 2])
 isreal(1+0*%i)
@@ -64,5 +113,8 @@ isreal(1+0*%i,0)
 isreal(1+%s)
 isreal(sprand(3,3,0.1))
  ]]></programlisting>
+        
     </refsection>
+    
 </refentry>
+
index 724fbc0..df09424 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="real">
+    
     <refnamediv>
+        
         <refname>real</refname>
+        
         <refpurpose>実部</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[y]=real(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数のベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>実数の行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>real(x)</literal> は
-            <literal>x</literal>の実部です. ( 複素数を入力するには<literal>%i</literal> を参照ください).
+            
+            <code>real(x)</code> は
+            
+            <varname>x</varname>の実部です. ( 複素数を入力するには<constant>%i</constant>を参照ください).
+            
         </para>
+        
     </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[ 
+real([1 %i 2])
+real(1+0*%i)
+real(2+3*%i)
+real(1+%s)
+real(sprand(3,3,0.1))
+ ]]></programlisting>
+        
+    </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="imag">imag</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 3564741..4c7f456 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="factor" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>factor</refname>
+        
         <refpurpose>素因数分解関数</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[y]=factor(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>実数スカラー</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>素数のベクトル</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             実数<literal>x</literal>を指定すると, <literal>factor(x)</literal>
+            
             は<literal>x</literal>の素因数分解をベクトルr<literal>y</literal>に返します.
+            
             特殊な場合: <literal>factor(0)</literal>
+            
             は <literal>0</literal>を返し, <literal>factor(1)</literal> は
+            
             <literal>1</literal>を返します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 x=620
 y=factor(x)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="primes">primes</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 8a00edf..fbda38b 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2006-2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="gcd">
+    
     <refnamediv>
+        
         <refname>gcd</refname>
+        
         <refpurpose>最大公約数を計算</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[pgcd,U]=gcd(p)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>p</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         多項式行ベクトル <literal>p=[p1,..,pn]</literal> または整数行ベクトル
+                        
                         (8型)
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>p</literal>の要素の最大公約数および以下のような最小次数の
-            (多項式の逆を有する)ユニモジュラ行列 <literal>U</literal>
-            を計算します
+            
+            <code>[pgcd, U] = gcd(p)</code>は,
+            
+            <literal>p</literal>の要素の最大公約数(<varname>pgcd</varname>)
+            
+            および以下のような最小次数の
+            
+            (多項式の逆を有する)ユニモジュラ行列 <varname>U</varname>
+            
+            を計算します.
+            
         </para>
+        
         <para>
+            
             <literal>p*U=[0 ... 0 pgcd]</literal>
+            
         </para>
+        
+        <para>
+            
+            数学的には,<emphasis role='italic'>ユニモジュラ</emphasis> 行列
+            
+            <literal>U</literal> は,
+            
+            行列式 <literal>+1</literal> or <literal>-1</literal>を有する
+            
+            正方整数行列です.
+            
+        </para>
+        
+        <para>
+            
+            実数配列<literal>p</literal>の最大公約数は,
+            
+            <literal>gcd</literal>をコールする前に, <code>p = inv_coeff(p, 0)</code>により
+            
+            多項式に変換することにより得られます.
+            
+        </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 //多項式の場合
 s=poly(0,'s');
@@ -60,20 +124,38 @@ gcd([15 20])
 gcd(uint8([15 20]))
 gcd([iconvert(15,4) iconvert(20,4)])
 gcd(iconvert([15 20],4))
+
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="bezout">bezout</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="lcm">lcm</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="hermit">hermit</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 79f58d9..84b245b 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2006-2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="lcm">
+    
     <refnamediv>
+        
         <refname>lcm</refname>
+        
         <refpurpose>最小公倍数</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
-        <synopsis>[pp,fact]=lcm(p)</synopsis>
+        
+        <synopsis>[pp, fact] = lcm(p)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>p</term>
+                
                 <listitem>
-                    <para/>
+                    
+                    <para>
+                        
+                        多項式行ベクトル <literal>p = [p1, ..., pn]</literal> (2型) または
+                        
+                        整数行ベクトル (8型).
+                        
+                    </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>fact</term>
+                
                 <listitem>
-                    <para>多項式ベクトルまたは整数ベクトル  (8型)</para>
+                    
+                    <para>多項式ベクトルまたは整数ベクトル</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>pp</term>
+                
                 <listitem>
+                    
                     <para>多項式または整数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>pp=lcm(p)</literal> は,多項式ベクトル<literal>p</literal>
-            の最小公倍数<literal>pp</literal>を計算します.
+            
+            <code>pp = lcm(p)</code> は,多項式ベクトル<varname>p</varname>
+            
+            の最小公倍数<varname>pp</varname>を計算します.
+            
         </para>
+        
         <para>
-            <literal>[pp,fact]=lcm(p)</literal> はこれに加えて以下のような
-            ベクトル<literal>fact</literal>を計算します:
+            
+            <code>[pp, fact] = lcm(p)</code> は,これに加えて以下のような
+            
+            ベクトル<varname>fact</varname>を計算します:
+            
         </para>
+        
         <para>
-            <literal>p.*fact=pp*ones(p)</literal>
+            
+            <code>p.*fact = pp*ones(p)</code>
+            
         </para>
+        
+        <para>
+            
+            実数の配列<literal>p</literal>の最小公倍数は,
+            
+            <literal>lcm</literal>をコールする前に<code>p = inv_coeff(p, 0)</code>により
+            
+            多項式に変換することにより得られます.
+            
+        </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 //多項式の場合
 s=poly(0,'s');
@@ -68,16 +134,30 @@ p.*fact, pp
 V=int32([2^2*3^5, 2^3*3^2,2^2*3^4*5]);
 lcm(V)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="gcd">gcd</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="bezout">bezout</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index eb77e7e..399d0fe 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="perms" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>perms</refname>
+        
         <refpurpose>ベクトル要素の全順列</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=perms(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>スカラーまたはベクトル</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             長さ <literal>n</literal>のベクトル <literal>x</literal> を指定すると,
+            
             <literal>perms</literal> は<literal>x</literal>の
+            
             <literal>n</literal>個の要素の全順列
+            
             (すなわち,<literal>n!</literal>順列)を返します.
+            
             <literal>y</literal>の大きさは <literal> n!-by-n</literal> となります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 x=[4, 7, 10]
 y=perms(x)
 x=[1, 5, 2, 5]
 y=perms(x)
  ]]></programlisting>
+        
     </refsection>
+    
 </refentry>
+
index c2b4bc1..95c3e42 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="primes" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>primes</refname>
+        
         <refpurpose>素数関数</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[y]=primes(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>実数のスカラー</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>ベクトル</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             実数 <literal>x</literal>を指定すると, <literal>primes(x)</literal>
+            
             は,1 と <literal>x</literal>の間の全ての素数を含む
+            
             ベクトル<literal>y</literal>を返します.
+            
             <literal>x&lt;2 </literal>の場合,
+            
             <literal>primes(x)</literal> は空の行列を返します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 x=35
 y=primes(x)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="factor">factor</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index facafc8..745e878 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="rat" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>rat</refname>
+        
         <refpurpose>浮動小数点数の有理数近似</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
-        <synopsis>[N,D]=rat(x [,tol])
-            y=rat(x [,tol])
+        
+        <synopsis>[N,D]=rat(X [,tol])
+            
+            Y=rat(X [,tol])
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
-                <term>x</term>
+                
+                <term>X</term>
+                
                 <listitem>
+                    
                     <para>実数のベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
-                <term>n</term>
+                
+                <term>tol</term>
+                
                 <listitem>
+                    
+                    <para>正の実数スカラー, 許容誤差 (下記参照). デフォルト値は1d-6.</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>N</term>
+                
+                <listitem>
+                    
                     <para>整数のベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
-                <term>d</term>
+                
+                <term>D</term>
+                
                 <listitem>
+                    
                     <para>整数のベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
-                <term>y</term>
+                
+                <term>Y</term>
+                
                 <listitem>
+                    
                     <para>実数のベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>[N,D] = rat(x,tol)</literal> は,
-            <literal>abs(N./D - X) &lt;= tol*abs(x)</literal>の意味で
-            <literal>N./D</literal>が<literal>x</literal>に近くなるような
+            
+            <literal>[N,D] = rat(X,tol)</literal> は,
+            
+            <literal>abs(N./D - X) &lt;= tol*norm(X,1)*abs(X)</literal>の基準で
+            
+            <literal>N./D</literal>が<literal>X</literal>に近くなるような
+            
             2つの整数行列を返します.
+            
+        </para>
+        
+        <para>
+            
+            <literal>y=rat(x,tol)</literal> は商
+            
+            <literal>N./D</literal>を返します.
+            
+        </para>
+        
+        <para>
+            
             有理数近似は分数展開を丸めることにより生成されます.
-            デフォルトは
-            <literal>tol = 1.e-6*norm(X,1)</literal> です. <literal>y =
-                rat(x,tol)
-            </literal>
-            は商 <literal>N./D</literal>を返します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
+[n,d]=rat([3.5, 1.333333,-0.8])
 [n,d]=rat(%pi)
 [n,d]=rat(%pi,1.d-12)
 n/d-%pi
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="int">int</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="round">round</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 274e43d..38a99df 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="diag" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>diag</refname>
+        
         <refpurpose>対角行列の構築または展開</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[y]=diag(vm, [k])</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>vm</term>
+                
                 <listitem>
+                    
                     <para>ベクトルまたは行列 (完全または疎行列)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>k</term>
+                
                 <listitem>
+                    
                     <para>整数 (デフォルト値 0)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>ベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             n次(行または列) ベクトル<literal>vm</literal> に関して,
+            
             <literal>diag(vm)</literal> は<literal>vm</literal>のエントリを
+            
             主対角項とする対角行列を返します.
+            
         </para>
+        
         <para>
+            
             <literal>diag(vm,k)</literal> は,<literal>vm</literal>の
+            
             エントリを k番目の対角項とする
+            
             <literal>(n+abs(k))x(n+abs(k))</literal>行列を返します.
+            
             <literal>k=0</literal>は主対角,
+            
             <literal>k&gt;0</literal> は上方対角,
+            
             <literal>k&lt;0</literal> は下方対角です.
+            
         </para>
+        
         <para>
+            
             <literal>vm</literal>が行列の場合, <literal>diag(vm,k)</literal> は
+            
             <literal>vm</literal>の k番目の対角項のエントリからなる
+            
             列ベクトルとなります.
+            
             <literal>diag(vm)</literal> は<literal>vm</literal>の主対角項です.
+            
             <literal>diag(diag(x))</literal> は対角行列です.
+            
         </para>
+        
         <para>
+            
             <literal>vm</literal> が疎行列の場合,
+            
             <literal>diag(vm,k)</literal> は疎行列を返します.
+            
         </para>
+        
         <para>対角線形システムを構築するには,
+            
             <literal>sysdiag</literal>を使用してください.
+            
         </para>
+        
         <para>
+            
             <literal>eye(A).*A</literal> は
+            
             <literal>A</literal>の対角エントリからなる対角行列を
+            
             返すことに注意してください.
+            
             これは,任意の行列(定数,多項式,有理数,状態空間線形システム,...)
+            
             で有効です.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 diag([1,2])
 A=[1,2;3,4];
@@ -90,16 +163,30 @@ diag(sparse(1:10))  // sparse diagonal matrix
 // form a tridiagonal matrix of size 2*m+1
 m=5;diag(-m:m) +  diag(ones(2*m,1),1) +diag(ones(2*m,1),-1)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="sysdiag">sysdiag</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="sparse">sparse</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index f925e10..3cf73c4 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="eye" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>eye</refname>
+        
         <refpurpose>単位行列</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>X = eye(m,n)
+            
             X = eye(A)
+            
             X = eye()
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>A,X</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         行列,ハイパー行列または <literal>syslin</literal> リスト
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>m,n</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         整数値:  <varname>X</varname>の行および列の数
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>その引数に基づき, 
+            
             <literal>m</literal>x<literal>n</literal> の
+            
             主対角項に1を有する行列,または
+            
             <literal>A</literal>と同じ次元の単位行列を返します.
+            
             <varname>A</varname> がハイパー行列の場合, 
+            
             <varname>X</varname> は,1から<literal>min(size(A))</literal>までの全ての
+            
             <literal>i</literal>について,<literal>X(i,i,...,i) = 1</literal>として定義されます.
+            
         </para>
+        
         <warning>
+            
             <literal>eye(10)</literal> は,
+            
             <literal>A=10</literal>の時の <literal>eye(A)</literal> と
+            
             解釈され,すなわち, <literal>1</literal>となります.
+            
             (10x10の単位行列とはなりません!)
+            
         </warning>
+        
         <para>
+            
             <literal>A</literal> が<literal>syslin</literal>リスト
+            
             で表された線形システムの場合,
+            
             <literal>eye(A)</literal>は適当な次元(出力の数x入力の数)の
+            
             <literal>eye</literal>行列を返します.
+            
         </para>
+        
         <para>
+            
             <literal>eye()</literal> は,
+            
             次元が未定義の単位行列を返します.
+            
             次元はこの単位行列が次元が固定した行列に加算される時に
+            
             定義されます.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
 eye(2,3)
 A=rand(2,3);eye(A)
@@ -83,27 +149,52 @@ A=ssrand(2,2,3);eye(A)
 [1 2;3 4]+2*eye()
 eye(zeros(4,4,4,4))
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="ones">ones</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="zeros">zeros</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>履歴</title>
+        
         <revhistory>
+            
             <revision>
+                
                 <revnumber>5.5.0</revnumber>
+                
                 <revdescription>
-                    <para>N-D ハイパー行列に一般化</para>
+                    
+                    <para>N次元ハイパー行列に一般化</para>
+                    
                 </revdescription>
+                
             </revision>
+            
         </revhistory>
+        
     </refsection>
+    
 </refentry>
+
index 0b11e85..160485a 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA - Serge STEER
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="ind2sub" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>ind2sub</refname>
+        
         <refpurpose>線形添字を添字付き行列に変換</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[i1,i2,..] =ind2sub(dims,I)
+            
             Mi = ind2sub(dims,I)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>dims</term>
+                
                 <listitem>
+                    
                     <para>ベクトル: 行列の次元</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>I</term>
+                
                 <listitem>
+                    
                     <para>ベクトル: 指定した線形添字</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>i1,i2,..</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         添字値 (<literal>I</literal>と同じ形の行列)
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>Mi</term>
+                
                 <listitem>
+                    
                     <para>列に添字値を含む行列.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>ind2sub</literal> は指定した配列への添字と
+            
             等価な添字値を定義する際に使用されます.
+            
             <literal>[i1,i2,..] = ind2sub(dims,I)</literal> は配列
+            
             <literal>i1</literal>, <literal>i2</literal>, ... を返します.
+            
             この配列には, 
+            
             大きさ<literal>dims</literal>の行列に関する添字行列<literal>I</literal>
+            
             の等価な行,列, ... 添字が含まれます.
+            
             <literal>Mi=ind2sub(dims,I)</literal> は行列
+            
             <literal>Mi</literal> を返します.
+            
             この行列の列は配列
+            
             <literal>i1(:)</literal>, <literal>i2(:)</literal>, ...となります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 ind2sub([2,3,2],1:12)
 [i,j,k]=ind2sub([2,3,2],1:12)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="sub2ind">sub2ind</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="extraction">extraction</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="insertion">insertion</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index c989f83..f08ecf2 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA - Farid BELAHCENE
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="meshgrid" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>meshgrid</refname>
+        
         <refpurpose>行列または3次元配列を作成</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[X, Y] = meshgrid(x)
+            
             [X, Y] = meshgrid(x,y)
+            
             [X, Y, Z] = meshgrid(x,y,z)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x, y, z</term>
+                
                 <listitem>
+                    
                     <para>ベクトル</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>X, Y, Z</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         入力引数が2個の場合は行列,
+                        
                         入力引数が3個の場合は3次元配列
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>行列または3次元配列を作成します.</para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 x = -1:0.1:1;
 y = -1:0.1:1;
+
 [X,Y] = meshgrid(x,y);
+
 for i=1:size(X,1)
   for j=1:size(X,2)
     Z(i,j) = sinc(2*%pi*X(i,j)*Y(i,j));
   end
 end
+
 surf(X,Y,Z)
  ]]></programlisting>
+        
         <scilab:image>
+            
             x = -1:0.1:1;
+            
             y = -1:0.1:1;
+            
+            
+            
             [X,Y] = meshgrid(x,y);
+            
+            
+            
             for i=1:size(X,1)
+            
             for j=1:size(X,2)
+            
             Z(i,j) = sinc(2*%pi*X(i,j)*Y(i,j));
+            
             end
+            
             end
+            
+            
+            
             surf(X,Y,Z)
+            
         </scilab:image>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="ndgrid">ndgrid</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 66ecb44..11b79d3 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
+
 <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="ndgrid" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>ndgrid</refname>
+        
         <refpurpose>
+            
             多次元関数評価用グリッドの配列
+            
         </refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[X, Y] = ndgrid(x,y)
+            
             [X, Y, Z] = ndgrid(x,y,z)
+            
             [X, Y, Z, T] = ndgrid(x,y,z,t)
+            
             [X1, X2, ..., Xm] = ndgrid(x1,x2,...,xm)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x, y, z, ...</term>
+                
                 <listitem>
+                    
                     <para>ベクトル</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>X, Y, Z, ...</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         入力引数が2個の場合は行列,
+                        
                         それ以外の場合はハイパー行列
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             この関数はユーティリティルーチンで,
+            
             2, 3, ..., n次元のグリッド上で関数の評価を行う
+            
             ための配列を作成する際に便利です.
+            
             例えば, 2次元の場合, グリッドは
+            
             長さ nx および nyの
+            
             2つのベクトル
+            
             <literal>x</literal> および <literal> y</literal>
+            
             で定義され,
+            
             <emphasis>i=1,..,nx</emphasis> および <emphasis>j=1,..,ny</emphasis>
+            
             として,座標<emphasis>(x(i),y(j))</emphasis>となります.
+            
             そのグリッド上で (例えば<emphasis>f</emphasis>のような)関数の評価を
+            
             行うことになります.
+            
             この場合,この関数は,以下のような大きさ<emphasis>nx x ny</emphasis>の
+            
             2つの行列<literal>X,Y</literal>を計算します :
+            
         </para>
-        <programlisting role=""><![CDATA[ 
+        
+        <programlisting role="no-scilab-exec"><![CDATA[ 
 X(i,j) = x(i)   for all i in [1,nx]
 Y(i,j) = y(j)       and j in [1,ny]
  ]]></programlisting>
+        
         <para>
+            
             評価は,<literal>Z=f(X,Y)</literal>で行うことができます.
+            
             (ベクトル引数で<literal>f</literal>を評価するようコードが
+            
             作成されている場合,
+            
             <literal>*</literal>,
+            
             <literal>/</literal> および <literal>^</literal>の部分に
+            
             要素毎の演算 <literal>.*</literal>, <literal>./</literal> および
+            
             <literal>.^</literal>を使用することにより,(一般に)動作します..
+            
         </para>
+        
         <para>
+            
             3次元の場合, 長さ nx, ny および nzの3個のベクトル<literal>x,y,z</literal>
+            
             を指定し,
+            
             <literal>X,Y,Z</literal>は以下のように大きさ
+            
             <emphasis>nx x ny x nz</emphasis>のハイパー行列となります :
+            
         </para>
-        <programlisting role=""><![CDATA[ 
+        
+        <programlisting role="no-scilab-exec"><![CDATA[ 
 X(i,j,k) = x(i)  
 Y(i,j,k) = y(j)   for all (i,j,k) in [1,nx]x[1,ny]x[1,nz]
 Z(i,j,k) = z(k)
  ]]></programlisting>
+        
         <para>
+            
             一般的な場合, m 個の入力引数<literal>x1, x2, ..,
+                
                 xm
+                
             </literal>
+            
             ,それから m個の出力引数
+            
             <literal>X1, X2, .., Xm</literal> は以下のような
+            
             大きさ <emphasis>nx1 x nx2 x ... x
+                
                 nxm
+                
             </emphasis>
+            
             のハイパー行列となります :
+            
         </para>
-        <programlisting role=""><![CDATA[ 
+        
+        <programlisting role="no-scilab-exec"><![CDATA[ 
 Xj(i1,i2,...,ij,...,im) = xj(ij)   
 for all (i1,i2,...,im) in [1,nx1]x[1,nx2]x...x[1,nxm]  
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[  
 // 簡単な2次元グリッドを作
 nx = 40; ny = 40;
@@ -107,15 +193,25 @@ Z = f(X,Y);
 clf()
 plot3d(x,y,Z, flag=[2 6 4]); show_window()
  ]]></programlisting>
+        
         <scilab:image>
+            
             nx = 40; ny = 40;
+            
             x = linspace(-1,1,nx);
+            
             y = linspace(-1,1,ny);
+            
             [X,Y] = ndgrid(x,y);
+            
             deff("z=f(x,y)","z=x.^2 + y.^3")
+            
             Z = f(X,Y);
+            
             plot3d(x,y,Z, flag=[2 6 4]);
+            
         </scilab:image>
+        
         <programlisting role="example"><![CDATA[
 // 簡単な3次元グリッドを作成
 nx = 10; ny = 6; nz = 4;
@@ -139,13 +235,70 @@ clf()
 plot3d(XF,YF,ZF, flag=[0 6 3], leg="X@Y@Z")
 xtitle("A 3d grid !"); show_window()
  ]]></programlisting>
+        
+        <scilab:image>
+            
+            nx = 10; ny = 6; nz = 4;
+            
+            x = linspace(0,2,nx);
+            
+            y = linspace(0,1,ny);
+            
+            z = linspace(0,0.5,nz);
+            
+            [X,Y,Z] = ndgrid(x,y,z);
+            
+            
+            
+            XF=[]; YF=[]; ZF=[];
+            
+            
+            
+            for k=1:nz
+            
+            [xf,yf,zf] = nf3d(X(:,:,k),Y(:,:,k),Z(:,:,k));
+            
+            XF = [XF xf]; YF = [YF yf]; ZF = [ZF zf];
+            
+            end
+            
+            
+            
+            for j=1:ny
+            
+            [xf,yf,zf] = nf3d(matrix(X(:,j,:),[nx,nz]),...
+            
+            matrix(Y(:,j,:),[nx,nz]),...
+            
+            matrix(Z(:,j,:),[nx,nz]));
+            
+            XF = [XF xf]; YF = [YF yf]; ZF = [ZF zf];
+            
+            end
+            
+            plot3d(XF,YF,ZF, flag=[0 6 3], leg="X@Y@Z")
+            
+            xtitle("A 3d grid !"); 
+            
+        </scilab:image>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="kron">kron</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 496464b..b2b3e55 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="ones" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>ones</refname>
+        
         <refpurpose>要素が1の行列</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=ones(m1,m2,...)
+            
             y=ones(x)
+            
             y=ones()
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x,y</term>
+                
                 <listitem>
+                    
                     <para>行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>m1, m2,..</term>
+                
                 <listitem>
+                    
                     <para>整数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>要素が1の行列を返します.</para>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>ones(m1,m2)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         全て1からなる<literal>(m1,m2)</literal> 行列を返します.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>ones(m1,m2,..,mn)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         全て1からなる<literal>(m1,m2,..,mn)</literal> 行列を作成します.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>ones(x)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         <literal>x</literal>と同じ大きさで全て1からなる行列を返します.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>ones(x)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         は <literal>x</literal> が
+                        
                         <literal>syslin</literal> リストの場合でも有効です.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
-        <para>
-            <literal>ones(3)</literal> は <literal>a=3</literal> を指定した
-            <literal>ones(a)</literal>, すなわち, 3x3 行列ではないことに注意してください!
-        </para>
-        <para>ones() は ones(1,1)と等価dす.</para>
+        
     </refsection>
+    
     <refsection>
+        
+        <title>注意</title>
+        
+        <itemizedlist>
+            
+            <listitem>
+                
+                <para>
+                    
+                    <literal>ones(3)</literal> は <literal>a=3</literal> を指定した
+                    
+                    <literal>ones(a)</literal>, すなわち, 3x3 行列ではないことに注意してください!
+                    
+                </para>
+                
+            </listitem>
+            
+            <listitem>
+                
+                <para>ones() は ones(1,1)と等価です.</para>
+                
+            </listitem>
+            
+            <listitem>
+                
+                <para>
+                    
+                    <literal>ones(3,-3)</literal> および <literal>ones(-3,-3)</literal> は
+                    
+                    共に空の行列を返します.
+                    
+                </para>
+                
+            </listitem>
+            
+        </itemizedlist>
+        
+    </refsection>
+    
+    <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 ones(3)
 ones(3,3)
 ones(2,3,2)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="eye">eye</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="zeros">zeros</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 4a6160d..86dc5ff 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="rand" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>rand</refname>
+        
         <refpurpose>乱数生成</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
-        <synopsis>rand(m1,m2,.. [,key])
-            rand(x [, key])
-            rand()
+        
+        <synopsis>
+            
+            r = rand()
+            
+            r = rand(m1,m2,...)
+            
+            r = rand(m1,m2,...,key)
+            
+            r = rand(x)
+            
+            r = rand(x,key)
+            
+            
+            
+            s = rand("seed")
+            
+            rand("seed",s)
+            
+            
+            
             rand(key)
-            rand("seed" [,n])
-            rand("info")
+            
+            key = rand("info")
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
-                <term>mi</term>
+                
+                <term>m1, m2, ...</term>
+                
                 <listitem>
-                    <para>整数</para>
+                    
+                    <para>
+                        
+                        整数, ランダム行列<literal>r</literal>の大きさ.
+                        
+                    </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>key</term>
+                
                 <listitem>
+                    
                     <para>
-                        <literal>"uniform"</literal>,
-                        <literal>"normal"</literal>を値とする文字列
+                        
+                        文字列, 乱数の分布 (デフォルト <literal>key="uniform" </literal>).
+                        
+                        利用可能な値は <literal>"uniform"</literal> および
+                        
+                        <literal>"normal"</literal>です.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
-                    <para>行列. その次元のみが処理されます.</para>
+                    
+                    <para>
+                        
+                        実数または複素数の行列. 
+                        
+                        実数または複素数の内容とその次元のみが処理されます.
+                        
+                    </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
+            <varlistentry>
+                
+                <term>r</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        m1 x m2 x... ランダムなエントリを有するdoubleの実数配列.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>s</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        1行1列double行列, 整数値, 正, シード (デフォルト <literal>s=0</literal>).
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
-        <para>乱数生成器.</para>
-        <para>key 引数を省略すると,
-            以下の構文はカレントの乱数生成器(デフォルトは "uniform")により
-            乱数行列を生成します.
+        
+        <para>
+            
+            この関数の目的は,実数または複素数のランダムなエントリを有するdoubleの行列
+            
+            を返すことです.
+            
+            入力引数に依存して,この関数はdoubleのランダム行列を返したり,または,
+            
+            乱数の分布を取得または設定したり,
+            
+            乱数生成器のシードを取得または設定したりできます.
+            
         </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>乱数生成器</title>            
+        
         <variablelist>
+            
             <varlistentry>
-                <term>rand(m1,m2)</term>
+                
+                <term>r=rand()</term>
+                
                 <listitem>
+                    
+                    <para>乱数1個を有する1行1列double行列を返します.</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>r=rand(m1,m2)</term>
+                
+                <listitem>
+                    
                     <para>
+                        
                         は, 次元が <literal>m1</literal> 行
-                        <literal>m2</literal>列の乱数行列です.
+                        
+                        <literal>m2</literal>列のランダム行列です.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
-                <term>rand(m1,m2,..,mn)</term>
+                
+                <term>r=rand(m1,m2,..,mn)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         は,次元が<literal>m1</literal> x
+                        
                         <literal>m2</literal>,.. x <literal>mn</literal>
-                        の乱数行列です.
+                        
+                        のランダム行列を返します.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
-                <term>rand(a)</term>
+                
+                <term>r=rand(a)</term>
+                
                 <listitem>
-                    <para>はaと同じ大きさの乱数行列です.
+                    
+                    <para>は,aと同じ大きさのランダム行列を返します.
+                        
+                        <literal>a</literal>が実数行列の場合,
+                        
+                        <literal>r</literal>は実数,
+                        
                         <literal>a</literal>が複素数行列の場合,
-                        <literal>rand(a)</literal>は複素数です.
+                        
+                        <literal>r</literal>は複素数です.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
-            <varlistentry>
-                <term>rand() : 引数を指定しない場合, 値が変化するスカラー値となります</term>
-                <listitem>
-                    <para>参照される度に.</para>
-                </listitem>
-            </varlistentry>
+            
         </variablelist>
-        <para>key引数が指定された場合, その他の乱数分布を指定することができるように
-            なります.
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>乱数の分布の変更</title>
+        
+        <para>
+            
+            入力引数<literal>key</literal> は乱数生成器の分布を設定します.
+            
         </para>
+        
         <variablelist>
+            
             <varlistentry>
-                <term>rand('uniform')</term>
+                
+                <term>rand("uniform")</term>
+                
                 <listitem>
-                    <para>カレントの乱数生成器が一様分布の乱数生成器に
+                    
+                    <para>
+                        
+                        乱数生成器が一様分布の乱数生成器に
+                        
                         設定されます.乱数は(0,1)の範囲の一様分布となります.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
-                <term>rand('normal')</term>
+                
+                <term>rand("normal")</term>
+                
                 <listitem>
-                    <para>カレントの乱数生成器はガウス乱数生成器(平均0,分散1)に設定されます.
+                    
+                    <para>
+                        
+                        乱数生成器がガウス乱数生成器(平均0,分散1)に設定されます.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
-                <term>str=rand('info')</term>
+                
+                <term>key=rand("info")</term>
+                
                 <listitem>
-                    <para>デフォルトの乱数生成器の型('uniform' または
-                        'normal')を返します.
+                    
+                    <para>
+                        
+                        カレントの乱数生成器の型("uniform" または
+                        
+                        "normal")を返します.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
-        <para>乱数生成器のシードを(再)初期化することが可能です:</para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>シートの取得または設定</title>
+        
+        <para>
+            
+            乱数生成器のシードを取得または設定することが可能です.
+            
+        </para>
+        
         <variablelist>
+            
             <varlistentry>
-                <term>rand('seed')</term>
+                
+                <term>s=rand("seed")</term>
+                
                 <listitem>
-                    <para>シードのカレントの値を返します.</para>
+                    
+                    <para>カレントのシードの値を返します.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
-                <term>rand('seed',n)</term>
+                
+                <term>rand("seed",s)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         シードを<literal>n</literal>に設定します. (デフォルトでは,
-                        最初のコールで<literal>n=0</literal> ).
+                        
+                        最初のコールで<literal>s=0</literal> ).
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
-        <title>注意</title>
+        
+        <title>例</title>
+        
         <para>
-            代わりにより強力な関数 <link linkend="grand">grand</link>
-            を使用してください.
+            
+            以下の例では, 様々な分布を有するランダムdoubleを生成します.
+            
         </para>
+        
+        <programlisting role="example"><![CDATA[  
+// Get one random double (based on the current distribution)
+r=rand()
+// Get one 4-by-6 matrix of doubles (based on the current distribution)
+r=rand(4,6)
+// Get one 4-by-6 matrix of doubles with uniform entries
+r=rand(4,6,"uniform")
+// Produce a matrix of random doubles with the same size as x
+x=rand(4,4);
+r=rand(x,"normal")
+// Produce a 2-by-2-by-2 array of random doubles
+r=rand(2,2,2)
+ ]]></programlisting>
+        
+        <para>
+            
+            以下の例では, <literal>rand</literal>により生成された
+            
+            数の分布を変更します.
+            
+            まず正規分布を作成した後, 一様分布 [0,1)を作成します.
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[  
+    // Set the rand generator to normal
+    rand("normal")
+    r=rand(4,6)
+    // Get the current distribution
+    key=rand("info")
+    // Set the rand generator to uniform
+    rand("uniform")
+    r=rand(4,6)
+    key=rand("info")
+    ]]></programlisting>
+        
+        <para>
+            
+            以下の例では,正規分布の2行3列のdouble複素数行列を作成します.
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[  
+    // Produce a 2-by-3 matrix of random complex doubles
+    x=rand(2,3)+%i*rand(2,3)
+    // Produce a matrix of random complex doubles with
+    // normal entries and the same size as x
+    r=rand(x,"normal")
+    ]]></programlisting>
+        
+        <para>
+            
+            以下の例では,
+            
+            <literal>rand</literal>により生成された一様分布の数値をプロットします.
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[  
+    r=rand(1000,1,"uniform");
+    scf();
+    histplot(10,r);
+    xtitle("Uniform numbers from rand","X","Frequency")
+    ]]></programlisting>
+        
+        <para>
+            
+            以下の例では,
+            
+            <literal>rand</literal>により生成された標準正規分布の数値をプロットします.
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[  
+    r=rand(1000,1,"normal");
+    scf();
+    histplot(10,r);
+    xtitle("Normal numbers from rand","X","Frequency")
+    ]]></programlisting>
+        
     </refsection>
+    
     <refsection>
-        <title>例</title>
+        
+        <title>予測可能または予測困難な数を取得</title>
+        
+        <para>
+            
+            "uniform" 擬似乱数生成器は,
+            
+            範囲(0,1)において独立して一様分布する
+            
+            数を再現することを目的とする決定論的数列です.
+            
+        </para>
+        
+        <para>
+            
+            再現可能なシミュレーションを行うには,
+            
+            数列がセッション間で同じであるように,生成器の初期シードをゼロにします.
+            
+            言い換えると,
+            
+            <literal>rand()</literal>により生成される最初の数は,
+            
+            常に 0.2113249,  0.7560439, ... となります.
+            
+        </para>
+        
+        <para>
+            
+            いくつかのケースでは,
+            
+            より予測しくい数列を出力するように生成器のシードを初期化したい場合があります.
+            
+            この場合,以下のように<literal>getdate</literal>関数の出力で
+            
+            初期化することができます:
+            
+        </para>
+        
         <programlisting role="example"><![CDATA[  
-x=rand(10,10,'uniform')
-rand('normal')
-rand('info')
-y=rand(x,'normal');
-x=rand(2,2,2)
+n=getdate("s");
+rand("seed",n);
  ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>生成器</title>
+        
+        <para>
+            
+            <literal>"uniform"</literal> 乱数生成器は
+            
+            "Urand, A Universal Random Number Generator" において
+            
+            Michael A. Malcolm, Cleve B. Moler, Stan-Cs-73-334, January 1973, Computer
+            
+            Science Department, School Of Humanities And Sciences, Stanford University
+            
+            により記述されています.
+            
+        </para>
+        
+        <para>
+            
+            これは,以下の形式の線形共役生成器です :
+            
+        </para>
+        
+        <para>
+            
+            <latex>
+                
+                $$
+                
+                x = (a x + c) \textrm{mod} M
+                
+                $$
+                
+            </latex>
+            
+        </para>
+        
+        <para>
+            
+            ただし,定数を以下に示します
+            
+        </para>
+        
+        <para>
+            
+            <latex><![CDATA[  
+         \begin{eqnarray}
+      a &=& 843314861\\
+      c &=& 453816693\\
+      M &=& 2^{31}
+         \end{eqnarray}
+ ]]></latex>
+            
+        </para>
+        
+        <para>
+            
+            著者によれば,この生成器はフルレングス生成器であり,
+            
+            つまり,周期は<latex>M=2^{31}=2147483648</latex>です.
+            
+        </para>
+        
+        <para>
+            
+            <literal>"normal"</literal> 乱数生成器は Box-Muller 法に
+            
+            基づいており, 一様乱数のソースは Urand です.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>生成器の統計的品質</title>
+        
+        <para>
+            
+            より長い周期とより良い統計的特性を有するという意味で,
+            
+            より優れた乱数生成器が
+            
+            <link linkend="grand">grand</link>関数で利用可能です.
+            
+            乱数の品質が問題となる場合,代わりに
+            
+            <literal>grand</literal> 関数を検討するべきです.
+            
+            更に,<literal>grand</literal> にはより多くの機能があります.
+            
+        </para>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="grand">grand</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="ssrand">ssrand</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="sprand">sprand</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 96839b9..01bac66 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="squarewave" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>squarewave</refname>
+        
         <refpurpose>周期 2*%piの矩形波を生成</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>x=squarewave(t [,percent])</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>t</term>
+                
                 <listitem>
+                    
                     <para>実数ベクトル, 離散時間</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>実数ベクトル, 各時間における集合 (-1,+1)の波の値</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>percent</term>
+                
                 <listitem>
+                    
                     <para>実数の正のスカラー値で,
+                        
                         信号の符号が正となる周期の割合.
+                        
                         デフォルト値は 50
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>squarewave(t)</literal> は
+            
             <literal>t</literal>ベクトルで指定された点において
+            
             周期 2*%pi の矩形波の値からなるベクトルを
+            
             生成します.
+            
         </para>
+        
         <para>
+            
             <literal>squarewave(t,%)</literal> は
+            
             <literal>%</literal>が信号が正となる周期の割合(パーセント)となるような
+            
             矩形波を生成します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 t=(0:0.1:5*%pi)';
 plot2d1('onn',t,[2*sin(t),1.5*squarewave(t),squarewave(t,10)])
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="sin">sin</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="cos">cos</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 7bea018..e00befc 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA - Serge STEER
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="sub2ind" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>sub2ind</refname>
+        
         <refpurpose>行列添字を線形添字に変換</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>I = sub2ind(dims,i1,i2,...)
+            
             J = sub2ind(dims,Mi)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>dims</term>
+                
                 <listitem>
+                    
                     <para>ベクトル: 行列の次元</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>i1,i2,...</term>
+                
                 <listitem>
+                    
                     <para>添字値配列(
+                        
                         <literal>I</literal>と同じ形の行列)
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>Mi</term>
+                
                 <listitem>
+                    
                     <para>列に添字値を有する行列.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>I</term>
+                
                 <listitem>
+                    
                     <para>線形添字配列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>sub2ind</literal> は
+            
             指定した添字値の集合に対応する等価な添字を定義する際に使用されます.
+            
             <literal>I = sub2ind(dims,i1,i2,..)</literal> は
+            
             大きさ<literal>dims</literal>の行列に関して配列
+            
             <literal>i1</literal>, <literal>i2</literal>,..の中に
+            
             行,列,... 添字に等価な線形添字を返します.
+            
             この場合, <literal>i1</literal>, <literal>i2</literal>,.. は
+            
             同じ形である必要があり,
+            
             結果 <literal>I</literal>は同じ行列の形を有しています.
+            
             <literal>I = sub2ind(dims,Mi)</literal> は,
+            
             大きさ<literal>dims</literal>の行列に関して
+            
             行列<literal>Mi</literal>の列における添字に等価な
+            
             線形添字を返します.
+            
             この場合,<literal>I</literal> は列ベクトルとなります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 i=[1 2 1 1 2 1 1];
 j=[1 2 3 1 2 3 3];
@@ -80,19 +145,36 @@ k=[1 2 1 2 1 2 1];
 sub2ind([2,3,2],i,j,k)
 sub2ind([2,3,2],[i',j',k'])
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="ind2sub">ind2sub</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="extraction">extraction</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="insertion">insertion</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 66a9155..737962f 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
+
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="testmatrix">
+    
     <refnamediv>
+        
         <refname>testmatrix</refname>
+        
         <refpurpose>ヒルバート,フランクのような特殊行列を作成</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼出し手順</title>
-        <synopsis>[y]=testmatrix(name,n)</synopsis>
+        
+        <synopsis>[y] = testmatrix(name, n)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>name</term>
+                
                 <listitem>
+                    
                     <para>文字列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>n</term>
+                
                 <listitem>
+                    
                     <para>整数, 行列の大きさ</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>
-                        <literal>n</literal> x <literal>n</literal> 行列.
+                        
+                        <varname>n</varname> x <varname>n</varname>行列.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             特定の行列を作成します.
+            
         </para>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>testmatrix('magi',n)</term>
+                
                 <listitem>
+                    
                     <para>
-                        大きさ <literal>n</literal> の魔方陣の正方行列を返します.
+                        
+                        大きさ <varname>n</varname> x <varname>n</varname>
+                        
+                        の魔方陣の正方行列を返します.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>testmatrix('frk',n)</term>
+                
                 <listitem>
+                    
                     <para>フランク行列を返します.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>testmatrix('hilb',n)</term>
+                
                 <listitem>
+                    
                     <para>
-                        ヒルバート行列の逆です  <literal>(Hij= 1/(i+j-1))</literal>.
+                        
+                        <varname>n</varname> x <varname>n</varname>
+                        
+                        ヒルバート行列<literal>(Hij= 1/(i+j-1))</literal>の逆です.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[ 
+testmatrix('magi',3)
+testmatrix('frk',10)
+testmatrix('hilb',4)
+ ]]></programlisting>
+        
+    </refsection>
+    
 </refentry>
+
index a39bcd4..5e8257b 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="toeplitz" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>toeplitz</refname>
+        
         <refpurpose>toeplitz行列</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>A=toeplitz(c [,r])</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>a,c,r</term>
+                
                 <listitem>
+                    
                     <para>定数, 多項式 または文字列行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             最初の行を<literal>r</literal>,
+            
             最初の列を<literal>c</literal>とするToeplitz行列を返します.
+            
             <literal>c(1)</literal> は<literal>r(1)</literal>に等しい
+            
             必要があります.
+            
             <literal>toeplitz(c)</literal> は対称Toeplitz行列を返します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 A=toeplitz(1:5);
 T=toeplitz(1:5,1:2:7);T1=[1 3 5 7;2 1 3 5;3 2 1 3;4 3 2 1;5 4 3 2];
@@ -53,13 +87,30 @@ t-t1
 t=toeplitz(['1','2','3','4']);
 t1=['1','2','3','4';'2','1','2','3';'3','2','1','2';'4','3','2','1']
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="matrix">matrix</link>
+                
             </member>
+            
+            <member>
+                
+                <link linkend="testmatrix">testmatrix</link>
+                
+            </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 718dda4..36db406 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="zeros" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>zeros</refname>
+        
         <refpurpose>ゼロからなる行列</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=zeros()
+            
             y=zeros(x)
+            
             y=zeros(m1,m2,..)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x,y</term>
+                
                 <listitem>
+                    
                     <para>行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>m1, m2,..</term>
+                
                 <listitem>
+                    
                     <para>整数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             ゼロ行列を作成します (<literal>0*ones</literal>と等価).
+            
         </para>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>zeros(m1,m2)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         <literal>(m1,m2)</literal> 行列の場合.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>zeros(m1,m2,..,mn)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         ゼロで埋めた <literal>(m1,m2,..,mn)</literal> 行列を作成します.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>zeros(A)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         <literal>A</literal>の同じ大きさの行列.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>zeros(3)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         は<literal>a=3</literal>と指定した<literal>zeros(a)</literal>
+                        
                         となり, すなわち, 3x3 行列とはなりません!
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>zeros()</term>
+                
                 <listitem>
+                    
                     <para>単一のゼロを返します</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
         <para>
+            
             <literal>x</literal> が <literal>syslin</literal> リスト
+            
             (状態空間または伝達関数の線形システム)の場合でも,
+            
             <literal>zeros(x)</literal> は有効で,ゼロ行列を返します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 zeros(3)
 zeros(3,3)
 zeros(2,3,2)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="eye">eye</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="ones">ones</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="spzeros">spzeros</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index b4ba9d4..35399b0 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="exp" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>exp</refname>
+        
         <refpurpose>要素毎の指数関数</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>exp(X)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>X</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数を要素とするスカラー,ベクトルまたは行列.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>exp(X)</literal> は <literal>X</literal>の各要素の
+            
             (要素毎の) 指数.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 x=[1,2,3+%i];
-log(exp(x))  //element-wise
+log(exp(x))  //要素毎
 2^x
 exp(x*log(2))
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection>
+        
         <title>参考</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="coff">coff</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="log">log</link>
+                
             </member>
-            <member>
-                <link linkend="expm">expm</link>
-            </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 174c136..fbcfed6 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="expm">
+    
     <refnamediv>
+        
         <refname>expm</refname>
+        
         <refpurpose>正方行列の指数関数</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>expm(X)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>X</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数のエントリを有する正方行列.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>X</literal> が正方行列の時,
+            
+            <varname>X</varname> が正方行列の時,
+            
             <literal>expm(X)</literal> は以下の行列となります
+            
         </para>
+        
         <para>
+            
             <literal>expm(X) = I + X + X^2 /2 + ...</literal>
+            
         </para>
+        
         <para>
-            計算はまず<literal>X</literal>をブロック対角化した後,
+            
+            計算はまず<varname>X</varname>をブロック対角化した後,
+            
             各ブロックにパデ近似を適用します.
+            
         </para>
+        
+        <para>
+            
+            パデ近似は関数の有理関数による次数を指定した"最良の"近似です.
+            
+            この手法は,フランス人数学者Henri Padeにより開発されました.
+            
+        </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 X=[1 2;3 4]
 expm(X)
 logm(expm(X))    
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="logm">logm</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="bdiag">bdiag</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="coff">coff</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="log">log</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="exp">exp</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 8045017..132ec69 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="log" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>log</refname>
+        
         <refpurpose>自然対数</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=log(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>定数ベクトルまたは定数行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>log(x)</literal> は"要素毎の" 対数です.
+            
             <literal>y(i,j)=log(x(i,j))</literal>. 行列の対数の場合,
+            
             <literal>logm</literal>を使用してください.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 exp(log([1,%i,-1,-%i]))
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="exp">exp</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="logm">logm</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="log10">log10</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="ieee">ieee</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 522ef1f..1a25107 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="log10" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>log10</refname>
+        
         <refpurpose>対数</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=log10(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>ベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            対数.<literal>x</literal> がベクトルの場合,
-            <literal>log10(x)=[log10(x1),...,log10(xn)]</literal>となります.
+            
+            <literal>log10(x)</literal> は,10を底とする"要素毎"の対数
+            
+            <literal>y(i,j)=log10(x(i,j))</literal>です.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[  
 10.^log10([1,%i,-1,-%i])
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="log">log</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="logm">logm</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="hat">hat</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="ieee">ieee</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 033da18..d16c940 100644 (file)
@@ -1,43 +1,83 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <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="log1p" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>log1p</refname>
+        
         <refpurpose>
-            引数に1を足した数の自然対数を厳密に計算する
+            
+            引数に1を足した数の自然対数を正確に計算する
+            
         </refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=log1p(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>実数スカラー, ベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>実数スカラー, ベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>logp1(x)</literal> は "要素毎"の log(1+x) 関数です.
+            
             <literal>y(i,j)=log(1 + x(i,j))</literal>. この関数は
+            
             x &gt; -1, で定義され,|x| &lt;&lt; 1 において
+            
             正確にlog(1+x)を計算する必要がある場合に使用されます.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 format("e",24)
 log(1.001)
@@ -46,15 +86,26 @@ log(1 + 1.e-7)
 log1p(1.e-7)
 log(1 + 1.e-20)
 log1p(1.e-20)
-format("v") //reset default format
+format("v") //デフォルト形式にリセット
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="log">log</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 64783dc..cd3c912 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="log2" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>log2</refname>
+        
         <refpurpose>2を底とする対数</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=log2(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>ベクトルまたは行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            2を底とする対数.<literal>x</literal> がベクトルの場合:
-            <literal>log2(x)=[log2(x1),...,log2(xn)]</literal>.
+            
+            <literal>log2(x)</literal> は,2を底とする"要素毎"の対数
+            
+            <literal>y(i,j)=log2(x(i,j))</literal>です.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 2.^log2([1,%i,-1,-%i])
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="log">log</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="hat">hat</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="ieee">ieee</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="log10">log10</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="frexp">frexp</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 04a4ada..6f598b5 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="logm" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>logm</refname>
+        
         <refpurpose>正方行列の対数</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=logm(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>正方行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>logm(x)</literal> は
+            
             <literal>x</literal>の対数行列です. 
+            
             <literal>x</literal>が正定でない場合には結果が
+            
             複素数となります.
+            
             <literal>x</literal>が対称行列の場合,
-            掲載は schur 形式で行われます.
+            
+            掲載は Schur 形式で行われます.
+            
             その他の場合,
+            
             <literal>x</literal> は対角化可能と仮定されます.
+            
             <literal>expm(logm(x))=x</literal>となります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 A=[1,2;3,4];
 logm(A)
@@ -56,16 +94,30 @@ expm(logm(A1))
 A1(1,1)=%i;
 expm(logm(A1))
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="expm">expm</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="log">log</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 18c3a3b..97f9df3 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="polar">
+    
     <refnamediv>
+        
         <refname>polar</refname>
+        
         <refpurpose>極座標形式</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
-        <synopsis>[Ro,Theta]=polar(A)</synopsis>
+        
+        <synopsis>[Ro, Theta] = polar(A)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>A</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数の正方行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
-                <term>Ro,  </term>
+                
+                <term>Ro</term>
+                
                 <listitem>
+                    
                     <para>実数行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
-                <term>Theta,  </term>
+                
+                <term>Theta</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数の行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>[Ro,Theta]=polar(A)</literal> は
-            <literal>A</literal>の極座標形式,すなわち,
-            <literal>A=Ro*expm(%i*Theta)</literal>,
-            対称行列 <literal>Ro</literal> &gt;=0
-            およびエルミート行列 <literal>Theta</literal> &gt;=0 を返します.
+            
+            <code>[Ro, Theta]=polar(A)</code> は,
+            
+            <varname>A</varname>の極座標形式を返します.
+            
+            対称行列 <varname>Ro</varname> &gt;=0 および
+            
+            エルミート行列 <varname>Theta</varname> &gt;=0 の時,
+            
+            <code>A=Ro*expm(%i*Theta)</code>となります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 A=rand(5,5);
 [Ro,Theta]=polar(A);
 norm(A-Ro*expm(%i*Theta),1)
+
+B = complex(5,7)
+[M, P] = polar(B)
+M * exp(%i * P)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="expm">expm</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="svd">svd</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 53c51bd..85a8eed 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="sqrt" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>sqrt</refname>
+        
         <refpurpose>平方根</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=sqrt(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
-                    <para>実数または複素数のスカラーまたはベクトル</para>
+                    
+                    <para>実数または複素数のスカラーまたはベクトル/行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>sqrt(x)</literal> は
-            <literal>x</literal> の要素の平方根のベクトルです. 
-            <literal>x</literal>が負の場合,結果は複素数となります.
+            
+            <literal>x</literal> の要素の平方根のベクトル/行列です. 
+            
+            <literal>x</literal>の要素が負の場合,結果は複素数となります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
-sqrt([2,4])
-sqrt(-1)
+    A = matrix(4:4:16,2,2)
+    sqrt(A)
+    sqrt(-1)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="hat">hat</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="sqrtm">sqrtm</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 37963ad..e4538a4 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="sqrtm" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>sqrtm</refname>
+        
         <refpurpose>行列の平方根</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=sqrtm(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数の正方行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>y=sqrtm(x)</literal> は行列<literal>x</literal>の
+            
+            <code>y = sqrtm(x)</code> は,行列 <varname>x</varname>の
+            
             平方根行列となります(<literal>x=y^2</literal>).
-            <literal>x</literal> が対称でない場合, 結果は不正確となる可能性があります.
+            
+            <varname>x</varname>が対称でない場合, 結果は不正確となる可能性があります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 x=[0 1;2 4]
 w=sqrtm(x); 
@@ -47,16 +79,30 @@ norm(w*w-x)
 x(1,2)=%i;
 w=sqrtm(x);norm(w*w-x,1)
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="expm">expm</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="sqroot">sqroot</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 1401640..e9ed2a0 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <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="ceil" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>ceil</refname>
+        
         <refpurpose>切り上げ</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[y]=ceil(x)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
-                    <para>実数行列</para>
+                    
+                    <para>実数または複素数の行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
-                    <para>整数行列</para>
+                    
+                    <para>整数行列(または整数の実部と虚部を有する複素数行列)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>ceil(x)</literal> は切り上げた要素からなる整数行列を返します.
+            
+            <literal>ceil(x)</literal> は切り上げた要素からなる整数または複素数の行列を返します.
+            
         </para>