<div class="gmail_quote">On Wed, Jun 22, 2011 at 17:44, Pierre-Yves Aquilanti <span dir="ltr"><<a href="mailto:sperif@gmail.com">sperif@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":3yq">i'm trying to use the KSPLSQR solver in order to solve the Ax=b where b and x are of size "n" and matrix A is of size "n+1 x n".</div></blockquote><div><br></div><div>Shouldn't the right hand side vector have length n+1?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":3yq"> A is in fact a superior hessenberg matrix</div></blockquote><div><br></div><div>Is your "real" system small and dense, or is this a model for some large system? In the small dense case, the natural thing is to use a direct solver, e.g. with Lapack.</div>
</div>