On 2010-01-06 09:31+0100 Arjen Markus wrote: > Hi David, > > 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), 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.
Arjen, from the fortran wrappers do we use the C order for all our two-dimensional arrays or just for the plsurf3d related functions? If we have a mixture of C and Fortran ordering for the two-dimensional arrays in our API, we should decide which convention we should use in our API and convert to it if/when we decide to do other major API breakage we have been discussing. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ 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