Deleted vectorized computation feature. Deleted neldermead_contour. Fixed the demos.
[scilab.git] / scilab / modules / optimization / help / en_US / karmarkar.xml
index c9cf316..d9b91f0 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
     <informalequation>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="../mml/karmarkar_equation_1.mml" />
+          <imagedata align="center" fileref="../mml/karmarkar_equation_1.mml" />
         </imageobject>
       </mediaobject>
     </informalequation>
   <refsection>
     <title>Examples</title>
 
-    <programlisting role="example"> 
-// n=10;p=20;
-// a=rand(n,p);c=rand(p,1);x0=abs(rand(p,1));b=a*x0;x1=karmarkar(a,b,c,x0);
-  </programlisting>
+    <programlisting role="example"><![CDATA[ 
+n=10;p=20;
+a=rand(n,p);
+c=rand(p,1);
+x0=abs(rand(p,1));
+b=a*x0;
+x1=karmarkar(a,b,c,x0);
+ ]]></programlisting>
   </refsection>
 </refentry>