From: Joao C. <jc...@fe...> - 2003-03-01 03:45:09
|
On Friday 28 February 2003 21:20, Alan W. Irwin wrote: > On Fri, 28 Feb 2003, [iso-8859-1] Jo=E3o Cardoso wrote: > > | I agree, but you did not answer my question, probably because I mad= e > > | a typo. Here I go again: Can't you cast the values returned by nn/c= sa > > | with PLFLT? > > > > No, data arrays are passed by reference. With nn/csa/qhull array data > > flows in both directions. > > If the user wants to use floats because he has huge amounts of float > > data we would have convert it all back and forth. And the main user > > concern, memory space, would be jeopardized anyway. > > I take your point about memory space, but users may still want > single-precision to work as a convenience because their application > programme is inherently single precision. We do serve the scientific > plotting community, and there is still a large number of fortran > single-precision applications around (as I am just re-discovering in my > current contract). It is extremely convenient to be able to use PLplot > directly from such a large application without having to do anything > special with the precision of the PLplot arguments (or the inconvenient > alternative of writing the results to a file which is then read by a > special > double-precision PLplot application). > > Thus, I hope very much that you do make an effort to completely support > both single and double (by allocating the space, copying the arrays, et= c.) > just as in the rest of PLplot. Please see my other e-mail on "configuration defaults". In short, I think= that=20 if the user has specified float we must not use doubles. Joao > > Alan > __________________________ > Alan W. Irwin > email: ir...@be... > phone: 250-727-2902 > > Astronomical research affiliation with Department of Physics and Astron= omy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the Canadian Centre for Climate Modelling= and > Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting > software package (plplot.org). > > __________________________ > > Linux-powered Science > __________________________ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel |