summaryrefslogtreecommitdiffstats
path: root/scilab/modules/compatibility_functions
diff options
context:
space:
mode:
authorYann Collette <yann.collette@scilab.org>2009-09-08 09:10:15 +0200
committerYann Collette <yann.collette@scilab.org>2009-09-08 09:10:15 +0200
commit19d9827e1e2f8d12882ecbf63d0b9b6ce55cf8a7 (patch)
tree66ad4061948d65fb2a45cab2e09379a591fa5d4d /scilab/modules/compatibility_functions
parentd746d59e47280e3d5a2972a80f8b59c10d36f89f (diff)
downloadscilab-19d9827e1e2f8d12882ecbf63d0b9b6ce55cf8a7.zip
scilab-19d9827e1e2f8d12882ecbf63d0b9b6ce55cf8a7.tar.gz
add CDATA + role in the compatibility_functions module
Diffstat (limited to 'scilab/modules/compatibility_functions')
-rw-r--r--scilab/modules/compatibility_functions/help/en_US/firstnonsingleton.xml6
-rw-r--r--scilab/modules/compatibility_functions/help/en_US/makecell.xml6
-rw-r--r--scilab/modules/compatibility_functions/help/en_US/mtlb_eval.xml10
-rw-r--r--scilab/modules/compatibility_functions/help/en_US/mtlb_var.xml6
-rw-r--r--scilab/modules/compatibility_functions/help/fr_FR/firstnonsingleton.xml6
5 files changed, 14 insertions, 20 deletions
diff --git a/scilab/modules/compatibility_functions/help/en_US/firstnonsingleton.xml b/scilab/modules/compatibility_functions/help/en_US/firstnonsingleton.xml
index 144d5b1..4204d5c 100644
--- a/scilab/modules/compatibility_functions/help/en_US/firstnonsingleton.xml
+++ b/scilab/modules/compatibility_functions/help/en_US/firstnonsingleton.xml
@@ -69,15 +69,13 @@
69 </refsection> 69 </refsection>
70 <refsection> 70 <refsection>
71 <title>Examples</title> 71 <title>Examples</title>
72 <programlisting role="example"><![CDATA[ 72 <programlisting role="example"><![CDATA[
73
74A = [1 2 3;4 5 6]; 73A = [1 2 3;4 5 6];
75// Scilab max 74// Scilab max
76M = max(A) 75M = max(A)
77// Matlab max emulation 76// Matlab max emulation
78M = max(A,firstnonsingleton(A)) 77M = max(A,firstnonsingleton(A))
79 78 ]]></programlisting>
80 ]]></programlisting>
81 </refsection> 79 </refsection>
82 <refsection> 80 <refsection>
83 <title>Authors</title> 81 <title>Authors</title>
diff --git a/scilab/modules/compatibility_functions/help/en_US/makecell.xml b/scilab/modules/compatibility_functions/help/en_US/makecell.xml
index 6276ef2..25a6cfd 100644
--- a/scilab/modules/compatibility_functions/help/en_US/makecell.xml
+++ b/scilab/modules/compatibility_functions/help/en_US/makecell.xml
@@ -62,9 +62,9 @@
62 </refsection> 62 </refsection>
63 <refsection> 63 <refsection>
64 <title>Examples</title> 64 <title>Examples</title>
65 <programlisting role="example"><![CDATA[ 65 <programlisting role="example"><![CDATA[
66 makecell([2,3],1,2,3,'x','y','z') 66makecell([2,3],1,2,3,'x','y','z')
67 ]]></programlisting> 67 ]]></programlisting>
68 </refsection> 68 </refsection>
69 <refsection> 69 <refsection>
70 <title>See Also</title> 70 <title>See Also</title>
diff --git a/scilab/modules/compatibility_functions/help/en_US/mtlb_eval.xml b/scilab/modules/compatibility_functions/help/en_US/mtlb_eval.xml
index 321c433..8f83f7a 100644
--- a/scilab/modules/compatibility_functions/help/en_US/mtlb_eval.xml
+++ b/scilab/modules/compatibility_functions/help/en_US/mtlb_eval.xml
@@ -66,11 +66,11 @@
66 When called with two inputs and more than one output, 66 When called with two inputs and more than one output,
67 <literal>[val1,val2,...]=mtlb_eval(str1,str2)</literal> may be replaced by: 67 <literal>[val1,val2,...]=mtlb_eval(str1,str2)</literal> may be replaced by:
68 </para> 68 </para>
69 <programlisting><![CDATA[ 69 <programlisting role = ""><![CDATA[
70 if execstr("[val1,val2,...]"+str1,"errcatch")<>0 then 70if execstr("[val1,val2,...]"+str1,"errcatch")<>0 then
71 execstr("[val1,val2,...]"+str2); 71 execstr("[val1,val2,...]"+str2);
72 end 72end
73 ]]></programlisting> 73 ]]></programlisting>
74 <para> 74 <para>
75 if <literal>str1</literal> and <literal>str2</literal> are valid Scilab instructions. 75 if <literal>str1</literal> and <literal>str2</literal> are valid Scilab instructions.
76 </para> 76 </para>
diff --git a/scilab/modules/compatibility_functions/help/en_US/mtlb_var.xml b/scilab/modules/compatibility_functions/help/en_US/mtlb_var.xml
index 80384c4..1688447 100644
--- a/scilab/modules/compatibility_functions/help/en_US/mtlb_var.xml
+++ b/scilab/modules/compatibility_functions/help/en_US/mtlb_var.xml
@@ -100,8 +100,7 @@ In the second case, a matrix is passed to the function, which returns the row ve
100[0.16 0.09]. 100[0.16 0.09].
101In the third case, a complex column vector is passed to the function, which 101In the third case, a complex column vector is passed to the function, which
102returns a value close to 2.</para> 102returns a value close to 2.</para>
103<programlisting role="example"><![CDATA[ 103<programlisting role="example"><![CDATA[
104
105x = [10; 20; 30; 40; 50; 60; 70; 80; 90]; 104x = [10; 20; 30; 40; 50; 60; 70; 80; 90];
106computed = mtlb_var(x); 105computed = mtlb_var(x);
107 106
@@ -113,8 +112,7 @@ computed = mtlb_var(x);
113N=1000; 112N=1000;
114x = grand(N,1,'nor',0,1) + %i*grand(N,1,'nor',0,1); 113x = grand(N,1,'nor',0,1) + %i*grand(N,1,'nor',0,1);
115computed = mtlb_var(x); 114computed = mtlb_var(x);
116 115 ]]></programlisting>
117 ]]></programlisting>
118 </refsection> 116 </refsection>
119 <refsection> 117 <refsection>
120 <title>See Also</title> 118 <title>See Also</title>
diff --git a/scilab/modules/compatibility_functions/help/fr_FR/firstnonsingleton.xml b/scilab/modules/compatibility_functions/help/fr_FR/firstnonsingleton.xml
index 78f552a..bdcc4d9 100644
--- a/scilab/modules/compatibility_functions/help/fr_FR/firstnonsingleton.xml
+++ b/scilab/modules/compatibility_functions/help/fr_FR/firstnonsingleton.xml
@@ -69,15 +69,13 @@
69 </refsection> 69 </refsection>
70 <refsection> 70 <refsection>
71 <title>Exemples</title> 71 <title>Exemples</title>
72 <programlisting role="example"><![CDATA[ 72 <programlisting role="example"><![CDATA[
73
74A = [1 2 3;4 5 6]; 73A = [1 2 3;4 5 6];
75// max Scilab 74// max Scilab
76M = max(A) 75M = max(A)
77// Emulation du max Matlab 76// Emulation du max Matlab
78M = max(A,firstnonsingleton(A)) 77M = max(A,firstnonsingleton(A))
79 78 ]]></programlisting>
80 ]]></programlisting>
81 </refsection> 79 </refsection>
82 <refsection> 80 <refsection>
83 <title>Auteurs</title> 81 <title>Auteurs</title>