help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Octave-like indexing with the GSL


From: Jordi Gutierrez Hermoso
Subject: Re: [Help-gsl] Octave-like indexing with the GSL
Date: Thu, 16 Nov 2006 11:54:38 -0600

On 16/11/06, Brian Gough <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]