On 16/11/06, Brian Gough <[EMAIL PROTECTED]> wrote:
You will have to access the memory directly for that access pattern. The
gsl_matrix type is designed so that it can always be passed to a BLAS
function, which means that the rows of the matrix must have a "stride" of 1.

Well, then I suppose that will have to do. If unit stride is good
enough for BLAS, it will be good enough for me too. :-) If I really
need that Octave-like syntax, I can copy matrices within my C++
classes, which is what I was trying to avoid.

> (Btw, I don't think I understand either the need for a
> gsl_matrix_view struct,

The implementation allows views of both const and non-const objects
without casting.

Thank you (again) for the explanations!

- Jordi G. H.


_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to