<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Samuel, et al.<br>
<br>
Now that you mention it, yes, I tried X = A\B, but for my specific
problem that failed in Scilab 5.5 - I just tested and it works
fine in Scilab 6. :-) Problem solved, no need for the toolbox.<br>
<br>
/Claus<br>
<br>
On 20-06-2016 18:18, Samuel Gougeon wrote:<br>
</div>
<blockquote cite="mid:5768176E.4080506@free.fr" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hello Claus,<br>
<br>
The description header of this toolbox says:<br>
<pre><i>"These algorithms are most of the time already provided by Scilab, but
are available here for comparison purpose."</i>
Indeed, in Scilab
A*X = B
is solved with <b>X = A\B</b>
and that's it.
Example:
A= rand(4,4);
Xo = rand(4,1);
B = A*Xo;
X = A\B;
X-Xo
</pre>
<tt>--> A= rand(4,4);</tt><tt><br>
</tt><tt>--> Xo = rand(4,1);</tt><tt><br>
</tt><tt>--> B = A*Xo;</tt><tt><br>
</tt><tt>--> X = A\B;</tt><tt><br>
</tt><tt>--> X-Xo</tt><tt><br>
</tt><tt> ans =</tt><tt><br>
</tt><tt> 0.</tt><tt><br>
</tt><tt> 0.</tt><tt><br>
</tt><tt> 2.220D-16</tt><tt><br>
</tt><tt> -3.053D-16</tt><tt><br>
</tt><br>
Samuel<br>
<br>
Le 20/06/2016 17:53, Claus Futtrup a écrit :<br>
</div>
<blockquote
cite="mid:9567ca89-f921-d9c2-2776-b1507e664efd@gmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<p>Hi there</p>
<p>I've downloaded Scilab 6 beta 2 (Windows 7, 64 bit, Intel
MKL) for testing.<br>
</p>
<p>Today I use a Scilab ATOMS module named linalg ... <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://atoms.scilab.org/toolboxes/linalg/0.3.2/"><a class="moz-txt-link-freetext" href="https://atoms.scilab.org/toolboxes/linalg/0.3.2/">https://atoms.scilab.org/toolboxes/linalg/0.3.2/</a></a><br>
</p>
<p>In my case it's good for solving a linear algebra problem
(A*X = B) based on gauss elimination. It uses an input vector
and a matrix - it looks like this:<span
style="color:rgb(0,0,0);"><br>
</span></p>
<p><span style="color:rgb(0,0,0);">x</span> <span
style="color:rgb(92,92,92);">=</span> <span
style="color:rgb(50,185,185);">linalg_dgesv</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(0,0,0);">mat</span><span
style="color:rgb(0,0,0);">,</span><span
style="color:rgb(0,0,0);">x</span><span
style="color:rgb(74,85,219);">)</span><span
style="color:rgb(0,0,0);">;</span></p>
<p>The big question is - will I also need DGESV from the Linalg
ATOMS toolbox with Scilab6? (Or will Scilab6 do better than
Scilab5 and solve this problem without a toolbox - how? -
Searching Scilab6 help for DGESV didn't give any hits).</p>
<p>More info:<br>
</p>
<p><a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/dgesv.htm">https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/dgesv.htm</a><br>
</p>
<p>Best regards,</p>
<p>Claus<br>
</p>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>