<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">thanks a lot!<div><br><div><div>On Sep 26, 2011, at 6:40 PM, Jed Brown wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>VecGetSubVector has lower overhead and might be implemented without a copy.</p>
<div class="gmail_quote">On Sep 26, 2011 11:32 AM, "Hui Zhang" <<a href="mailto:mike.hui.zhang@hotmail.com">mike.hui.zhang@hotmail.com</a>> wrote:<br type="attribution">> Hi all,<br>> <br>> I just come into this question: if one wants a sub-vector with contiguous indices<br>
> in the whole vector, surely, one can use getsubvec, but also one can setup a<br>> sparse boolean matrix for this aim; so which method is better, considering <br>> the whole vector is local or parallel?<br>> <br>
> Thanks very much for any suggestions!<br>> <br>> Best wishes,<br>> Hui<br></div>
</blockquote></div><br></div></body></html>