<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Kevin -- in the handout I gave you from
the CSC 335 textbook the ILS and DLS algorithm that those authors
used employed the augmented matrix. Your code needs to match what
I gave you in class for the project:<br>
<br>
<a class="moz-txt-link-freetext" href="http://theochem.mercer.edu/csc435/assignments/proj2_2016.pdf">http://theochem.mercer.edu/csc435/assignments/proj2_2016.pdf</a><br>
<br>
Having an A matrix and B and C vectors will make much easier to
call the ATLAS library function as well.<br>
<br>
As far as what has to be returned, I know we went over this in
class more than once, but for the sake of clarity (and for the
benfit of anyone that might have missed it) here it is again:<br>
<br>
in addition to the number of threads and the dimension of the
system:<br>
<br>
<br>
<b>dot</b> is a double precision function that returns a double
(scalar) that is the dot product of the two vectors.<br>
<br>
<b>vvm</b> is a VOID function that takes the pointers vec1, vec2,
and rmat and builds the rmat matrix<br>
<br>
<b>mvv</b> is a VOID function that takes the pointers to a
matrix, a vector, and a resultant vector (which is computed in the
function)<br>
<br>
<b>mmm</b> is VOID function -- you have my example -- it takes
three pointers corresponding to the three matrices - it computes
rmat<br>
<br>
<b>dls</b> is a VOID function that takes the A matrix pointer, the
b vector, and the pointer of the solution vector, which it
computes<br>
<br>
<b>ils</b> is a VOID function that takes the A matrix pointer, the
b vector, and the pointer of the solution vector, which it
computes<br>
<br>
<br>
<br>
On 04/07/2016 02:33 PM, Kevin L. Long wrote:<br>
</div>
<blockquote
cite="mid:CY1PR01MB21706168FAC7D36E2649FAA28F900@CY1PR01MB2170.prod.exchangelabs.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span> Okay I know I just sent 2 other emails, but I
really need to know the answer to this. It seems
our arguments for ils and dls are:</span></p>
<p><span><br>
</span></p>
<p><span> (int numthreads,int N, double *matrix, double *vec,
double*rvec) </span><br>
</p>
<p><span><br>
</span></p>
<p><span><span> </span>I thought our matrix was augmented
with the last column being the solution vector,and thus we
would not need a vector vec. Was I mistaken? Also is rvec
for returning a vector, I only ask because technically we
were never told whether ils and dls returned anything or
not. I know it should be obvious but I don't want to make
any assumptions and get lost.</span></p>
<p><span><br>
</span></p>
<p><span>Sorry to bother you again</span></p>
<p><span>-Kevin</span></p>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Andrew J. Pounds, Ph.D. (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
<a class="moz-txt-link-freetext" href="http://faculty.mercer.edu/pounds_aj">http://faculty.mercer.edu/pounds_aj</a>
</pre>
</body>
</html>