Hi Arjen: Please see the commit message for commit aab3994 for more details concerning this new tclmatrix capability that I have implemented that we have previously discussed off list. In particular please take a look at the new bindings/tcl/test_tclmatrix.tcl file for extensive examples of what is possible with this new capability, and when you get a chance, please build the "check_libtclmatrix_capabilities" target on Cygwin to make sure that you can use all these new facilities on that platform.
N.B. I have not yet made any changes in the matrix initialization code nor the matrix assignment code, but by accident I discovered that matrix x f 4 = {0., 1., 2., 3.} maxtrix y f 2 = [x 0:2] initializes y with the first two elements of x (where "0:2" is the index slice that selects those). However, I could not get this to work for multidimensional arrays. (In fact, I could get no initialization of either of the two forms above to work for those kinds of arrays.) So there is more work that I need to do in those areas, but I believe I am fairly close now to the goal of having complete multi-dimensional matrix resizing and reshaping capabilities under Tcl. And once we have that capability, that should allow you to drop all the non-redacted forms from our Tcl and Tk bindings and examples which is a substantial Tcl/Tk improvement for PLplot that I have been looking forward to for a long time. 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); 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 __________________________ ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel