<div class="gmail_quote">On Sat, Feb 19, 2011 at 00:24, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":661"> Even adjusting the array passed in will be worth it.<br></div></blockquote><div><br></div><div>Yes, the work to futz around with the small array is tiny compared to the cost of streaming the vector through extra times.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":661">
<br>
  Should MAXPY have an optional constant scale factor, does it come up enough?</div></blockquote></div><br><div>It looks like about half of the uses in PETSc are preceded by a loop to apply some constant factor, so I think such a parameter would be worthwhile.</div>