[OctDev] New function contribution

2010-05-20 Thread Kyle Winfree
Hello Octave Developers, I would like to submit a new function for consideration of inclusion. My SourceForge username is kwinfree. This function, gramian.m, is different from gram.m in that it computes the general Gramian for a set of vectors. This does not necessarily pertain to contr

Re: [OctDev] copying attributes in octcdf

2010-05-20 Thread Alexander Barth
Have a look again at the answers to your previous questions: http://www.mail-archive.com/octave-dev@lists.sourceforge.net/msg03460.html you get the name and values (as in ncdump) of an attribute then you define it as described in the previous thread. Alex On Tue, May 4, 2010 at 6:19 AM, wrote:

Re: [OctDev] alternative to 'var' in Octcdf

2010-05-20 Thread Alexander Barth
Hi, I have never needed this functionality myself. However patches are certainly welcome. If you really need this, have a look at line 246 of file ov-netcdf.cc. You would need to add a special case for ncdim: else if (args(0).class_name() == "ncdim") { // do something } and add the line 'di