This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GSL 2.0 roadmap (one man's view)


> tda in gsl_matrix struct is a bit of a mystery to me, what is it used for?

>From the manual [1]: "The physical row dimension tda, or trailing
dimension, specifies the size of a row of the matrix as laid out in
memory."

Say A is a (gsl_matrix *) and A->data[offset] is the matrix entry
A_{i,j}, then A->data[offset+A->tda] is the matrix entry A_{i+1,j}.
Note that both tda and size2 are necessary because our matrix A may be
a view of some larger matrix.

- Rhys

[1] http://www.gnu.org/software/gsl/manual/html_node/Matrices.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]