On Wed, Oct 26, 2011 at 08:51:56AM +0200, Arjen Markus wrote: > Hi Alan, > > On 2011-10-19 19:39, Alan W. Irwin wrote: > > Hi Arjen: > > > > Now that you have put in a notice in README.release about the future > > deprecation of our f77 bindings and examples, and Andrew has done such > > great work making our f95 bindings and examples much more compliant > > with the Fortran 95 standard, I think our next obvious Fortran step is > > to follow up by using more of the power of Fortran 95 in our f95 > > examples. > > > > For example, I understand that intrinsic functions like sin, cos, > > etc., can take array arguments and return the corresponding array > > results (just like the corresponding numpy Python capability that is > > used in examples/python/xw??.py) so using this Fortran 95 capability > > should eliminate many of the do loops in our examples. > > > > I have reworked example x01 with this in mind. Some more changes are > possible, but what do you think of it? The implied do-loops to get > data into the arrays are perhaps a bit overdone, but that is where I > want your opinion about. > > Other things: indentation - I will back on that, no time right now. > > Regards, > > Arjen
Arjen, This is exactly the kind of thing I had in mind anyway. It is nice to show cleaner fortran 95 style code, and I think demonstrating the features of fortran 95 is useful for users, even if it is a bit of an overkill in this case. Andrew ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
