%s*eye()-A where A is a matrix of doubles produces an error. So eye() is replaced... 03/17203/2
Adeline CARNIS [Mon, 14 Sep 2015 10:26:58 +0000 (12:26 +0200)]
Change-Id: Id3ae8dcb7e6e02f7f4fd253d98702d4179966e6a

12 files changed:
scilab/modules/linear_algebra/help/en_US/eigen/spec.xml
scilab/modules/linear_algebra/help/en_US/pencil/companion.xml
scilab/modules/linear_algebra/help/en_US/state_space/coff.xml
scilab/modules/linear_algebra/help/fr_FR/eigen/spec.xml
scilab/modules/linear_algebra/help/fr_FR/pencil/companion.xml
scilab/modules/linear_algebra/help/fr_FR/state_space/coff.xml
scilab/modules/linear_algebra/help/ja_JP/eigen/spec.xml
scilab/modules/linear_algebra/help/ja_JP/pencil/companion.xml
scilab/modules/linear_algebra/help/ja_JP/state_space/coff.xml
scilab/modules/linear_algebra/help/pt_BR/eigen/spec.xml
scilab/modules/linear_algebra/help/pt_BR/pencil/companion.xml
scilab/modules/linear_algebra/help/pt_BR/state_space/coff.xml

index 4565a68..52134f7 100644 (file)
@@ -256,7 +256,7 @@ A=inv(X)*A*X;
 spec(A)
 
 x=poly(0,'x');
-pol=det(x*eye()-A)
+pol=det(x*eye(3,3)-A)
 roots(pol)
 
 [S,X]=bdiag(A);
index 0509be6..f019c5e 100644 (file)
@@ -55,7 +55,7 @@
         <programlisting role="example"><![CDATA[ 
 s=poly(0,'s');
 p=poly([1,2,3,4,1],'s','c')
-det(s*eye()-companion(p))
+det(s*eye(4,4)-companion(p))
 roots(p)
 spec(companion(p))
  ]]></programlisting>
index 2944dda..9aa9ae7 100644 (file)
@@ -74,7 +74,7 @@
 M=[1,2;0,3];
 [N,d]=coff(M)
 N/d
-inv(%s*eye()-M)
+inv(%s*eye(2,2)-M)
  ]]></programlisting>
     </refsection>
     <refsection role="see also">
index de3027b..99f8d6f 100644 (file)
@@ -158,7 +158,7 @@ A=diag([1,2,3]);X=rand(3,3);A=inv(X)*A*X;
 spec(A)
 
 x=poly(0,'x');
-pol=det(x*eye()-A)
+pol=det(x*eye(3,3)-A)
 roots(pol)
 
 [S,X]=bdiag(A);
index 80fc6d4..04a91a6 100644 (file)
@@ -56,7 +56,7 @@
         <programlisting role="example"><![CDATA[ 
 s=poly(0,'s');
 p=poly([1,2,3,4,1],'s','c')
-det(s*eye()-companion(p))
+det(s*eye(4,4)-companion(p))
 roots(p)
 spec(companion(p))
  ]]></programlisting>
index e69a389..ed73ab9 100644 (file)
@@ -76,7 +76,7 @@
 M=[1,2;0,3];
 [N,d]=coff(M)
 N/d
-inv(%s*eye()-M)
+inv(%s*eye(2,2)-M)
  ]]></programlisting>
     </refsection>
     <refsection role="see also">
index ad29f18..67fe3be 100644 (file)
@@ -448,7 +448,7 @@ A=inv(X)*A*X;
 spec(A)
 
 x=poly(0,'x');
-pol=det(x*eye()-A)
+pol=det(x*eye(3,3)-A)
 roots(pol)
 
 [S,X]=bdiag(A);
index 93a9adc..6629018 100644 (file)
         <programlisting role="example"><![CDATA[ 
 s=poly(0,'s');
 p=poly([1,2,3,4,1],'s','c')
-det(s*eye()-companion(p))
+det(s*eye(4,4)-companion(p))
 roots(p)
 spec(companion(p))
  ]]></programlisting>
index ebf5b06..2a2b268 100644 (file)
 M=[1,2;0,3];
 [N,d]=coff(M)
 N/d
-inv(%s*eye()-M)
+inv(%s*eye(2,2)-M)
  ]]></programlisting>
         
     </refsection>
index 00be379..30cb113 100644 (file)
@@ -238,7 +238,7 @@ A=inv(X)*A*X;
 spec(A)
 //
 x=poly(0,'x');
-pol=det(x*eye()-A)
+pol=det(x*eye(3,3)-A)
 roots(pol)
 //
 [S,X]=bdiag(A);
index 1778f00..81f6562 100644 (file)
@@ -57,7 +57,7 @@
         <programlisting role="example"><![CDATA[ 
 s=poly(0,'s');
 p=poly([1,2,3,4,1],'s','c')
-det(s*eye()-companion(p))
+det(s*eye(4,4)-companion(p))
 roots(p)
 spec(companion(p))
  ]]></programlisting>
index f75f38f..223d35b 100644 (file)
@@ -76,7 +76,7 @@
 M=[1,2;0,3];
 [N,d]=coff(M)
 N/d
-inv(%s*eye()-M)
+inv(%s*eye(2,2)-M)
  ]]></programlisting>
     </refsection>
     <refsection role="see also">