Hi, Arjen,

On Jan 6, 2010, at 0:31 , Arjen Markus wrote:

> while I suffer from the same type of dyslexia (even after all these
> years I still have trouble getting the indices right and frequently
> have to sketch what the layout of the data is and what it should be,
> using Fortran, C and a couple of other languages)

:-) (-:, or should I say :-( )-: ? :-)

> I must point out
> that plsurf3d uses the _C_ ordering. You can see this for yourself
> in bindings/f(77|95)/sc3d.c which contains the Fortran-callable  
> wrapper
> for that function. There the array z is transposed to fill the  
> temporary
> array temp.

Thanks, it sounds like the FORTRAN bindings would also benefit from  
something like a "TRANSPOSED_Z" option.

> (I hope I do remember this correctly: the Fortran ordering is called
> column-major and C ordering is called row-major.)

You got it right!

http://en.wikipedia.org/wiki/Row-major_order

Dave


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to