[doc] mv perms.xml in setoperations 24/21124/4
Samuel GOUGEON [Fri, 8 Nov 2019 12:54:56 +0000 (13:54 +0100)]
  Merge of this transfer is required before improving the files contents.
  Thanks.

Change-Id: Ied4ddd58c3fe6ce61d62877b6ede0bc1d6342ce3

scilab/modules/elementary_functions/help/en_US/setoperations/perms.xml [moved from scilab/modules/elementary_functions/help/en_US/discrete/perms.xml with 96% similarity]
scilab/modules/elementary_functions/help/fr_FR/setoperations/perms.xml [moved from scilab/modules/elementary_functions/help/fr_FR/discrete/perms.xml with 94% similarity]
scilab/modules/elementary_functions/help/ja_JP/setoperations/perms.xml [moved from scilab/modules/elementary_functions/help/ja_JP/discrete/perms.xml with 100% similarity]
scilab/modules/elementary_functions/help/pt_BR/setoperations/perms.xml [moved from scilab/modules/elementary_functions/help/pt_BR/discrete/perms.xml with 95% similarity]
scilab/modules/elementary_functions/help/ru_RU/setoperations/perms.xml [moved from scilab/modules/elementary_functions/help/ru_RU/discrete/perms.xml with 100% similarity]
scilab/modules/elementary_functions/macros/perms.sci

@@ -16,7 +16,7 @@
 <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="en">
     <refnamediv>
         <refname>perms</refname>
-        <refpurpose>all permutations of vector components</refpurpose>
+        <refpurpose>Set of all permutations of given components</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Syntax</title>
@@ -2,8 +2,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="perms" xml:lang="fr">
     <refnamediv>
         <refname>perms</refname>
-        <refpurpose>retourne toutes les permutations des composantes d'un
-            vecteur
+        <refpurpose>
+                       Ensemble des permutations des éléments donnés
         </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
@@ -16,8 +16,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:ns4="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="pt">
     <refnamediv>
         <refname>perms</refname>
-        <refpurpose>retorna todas as permutações dos componentes de um
-            vetor
+        <refpurpose>
+            conjunto de todas as permutações de determinados componentes
         </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
index e51520d..21b59d3 100644 (file)
@@ -29,7 +29,7 @@ function y = perms(x)
     if size(x,"*")==1 | size(x,"*")==0 then
         y = x;
     elseif size(x,1)<>1 & size(x,2)<>1 then
-        error(msprintf(gettext("%s: Wrong size for input argument #%d: Vector expected.\n"),"perms"));
+        error(msprintf(gettext("%s: Wrong size for input argument #%d: Vector expected.\n"),"perms", 1));
     else
         xsize = size(x, "*");
         indrec = perms(1:xsize-1);