From octave-sources-request at bevo dot che dot wisc dot edu Sun Oct 8 05:34:29 2000 Subject: RE: Dimension Parameter for sum, prod, sumsq, cumsum and cumprod From: "Cai Jianming" To: "Paul Kienzle" Cc: "Octave" Date: Sun, 8 Oct 2000 18:34:40 +0800 Hi, I think you can ignore the error. This happens when I copy files from linux to windows. Jianming -----Original Message----- From: Paul Kienzle [mailto:pkienzle at kienzle dot powernet dot co dot uk] Sent: Sunday, October 08, 2000 5:10 AM To: Cai Jianming Subject: Re: Dimension Parameter for sum, prod, sumsq, cumsum and cumprod Problem with attachment: pkienzle:~/matcompat/patches$ tar tzf octave-dim.tgz patch/ChangeLog.patch patch/CMatrix.cc.patch patch/CMatrix.h.patch patch/data.cc.patch patch/dMatrix.cc.patch patch/dMatrix.h.patch gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error exit delayed from previous errors Paul Kienzle pkienzle at kienzle dot powernet dot co dot uk On Sun, Oct 08, 2000 at 01:07:39AM +0800, Cai Jianming wrote: > Hi, > Hopes this is helpful. Patch against 2.0.16. > > Jianming > > *** octave-2.0.14/ChangeLog Fri Jun 16 11:10:21 2000 > --- patch/ChangeLog Sun Oct 1 18:21:49 2000 > *************** > *** 1,3 **** > --- 1,40 ---- > + Sun Oct 1 17:25:32 2000 K.M.A. Chai > + * liboctave/dMatrix.h (Matrix cumprod (int dim = 0) const): Added > + extra argument indicate the dimension along which the operation is > + performed. > + (Matrix cumsum (int dim = 0) const): Likewise > + (Matrix prod (int dim = 0) const): Likewise > + (Matrix sum (int dim = 0) const): Likewise > + (Matrix sumsq (int dim = 0) const): Likewise > + * liboctave/CMatrix.h (ComplexMatrix cumprod (int dim = 0) const): > + Added extra argument indicate the dimension along which the > + operation is performed. > + (ComplexMatrix cumsum (int dim = 0) const): Likewise > + (ComplexMatrix prod (int dim = 0) const): Likewise > + (ComplexMatrix sum (int dim = 0) const): Likewise > + (ComplexMatrix sumsq (int dim = 0) const): Likewise > + * liboctave/dMatrix.cc (Matrix cumprod (int dim = 0) const): Added > + extra argument indicate the dimension of operation. Remove > + duplicate code so that there is no explicit check for column or > + row vector. Resultant code could be slower (but neater?) > + (Matrix cumsum (int dim = 0) const): Likewise > + (Matrix prod (int dim = 0) const): Likewise > + (Matrix sum (int dim = 0) const): Likewise > + (Matrix sumsq (int dim = 0) const): Likewise > + * liboctave/CMatrix.cc (ComplexMatrix cumprod (int dim = 0) const): > + Added extra argument indicate the dimension of operation. Remove > + duplicate code so that there is no explicit check for column or > + row vector. Resultant code could be slower (but neater?) > + (ComplexMatrix cumsum (int dim = 0) const): Likewise > + (ComplexMatrix prod (int dim = 0) const): Likewise > + (ComplexMatrix sum (int dim = 0) const): Likewise > + * src/data.cc (DEFUN (cumprod, args, ,...)): added check for extra > + dimension argument and make use of it. > + (DEFUN (cumsum, args, ,...)): Likewise > + (DEFUN (prod, args, ,...)): Likewise > + (DEFUN (sum, args, ,...)): Likewise > + (DEFUN (sumsq, args, ,...)): Likewise > + > 2000-01-25 John W. Eaton > > * configure.in: Don't look for the sunmath library. _________________________________________________________ Do You Yahoo!? Get your free at yahoo dot com address at http://mail.yahoo.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 -----------------------------------------------------------------------