help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] Vector and matrix views


From: Brian Gough
Subject: Re: [Help-gsl] Vector and matrix views
Date: Thu, 8 Dec 2005 18:29:47 +0000

James Bergstra writes:
 > The same trick works for matrix types.  Matrices have two sizes instead of 
 > one,
 > and the 'stride' between columns on the same row is always assumed to be 1, 
 > but
 > other than that, the things are analogous.  For some reason, a matrix stride
 > (from row to row) is in a field called 'tda'.

In fortran it is LDA (standing for "leading dimension of A" ) with
column-major matrices.

In C the matrices are row-major so everything is reversed, hence it
was named "trailing dimension of A" = tda.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/




reply via email to

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