From help-octave-request at bevo dot che dot wisc dot edu Fri Nov 26 22:50:59 1999 Subject: Re: Sparse functions for octave From: A+A Adler To: help-octave at bevo dot che dot wisc dot edu cc: help-octave Date: Sat, 27 Nov 1999 00:04:06 -0500 (EST) On Tue, 16 Nov 1999, John W. Eaton wrote: > On 16-Nov-1999, A+A Adler wrote: > | Great, thanks. I've now got indexing working on sparse variables. I have a few more questions about indexing 1. When M(idx,:) is specified, what is the idx_vector set to for the ':' ? 2. What methods does [ M1, M2 ] map to internally? Also, while putting together a test script for the sparse functions I use exist('__OCTAVE_VERSION__') to destinguish octave from Matlab. This no longer works in 2.1.19 octave-2.1.19:1> __OCTAVE_VERSION__ __OCTAVE_VERSION__ = 2.1.19 octave-2.1.19:2> exist('__OCTAVE_VERSION__') ans = 0 However, octave-2.0.14:1> __OCTAVE_VERSION__ __OCTAVE_VERSION__ = 2.0.14 octave-2.0.14:2> exist('__OCTAVE_VERSION__') ans = 1 ______________________________________________________________ Andy Adler, adler at mondenet dot com ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------