From: David B. <Dav...@mo...> - 2003-11-17 09:30:27
|
Dear All, We need a new release of Octave-Forge for 2.1.51 due to numereous changes. I've already made some of the necessary changes to the CVS previous for the fortran_indexing, etc flags. However I know of at least one other change that hasn't been implemented that needs to be before a release, and perhaps there are other. The change I know about is that all of the registered types need this change made #ifdef HAVE_ND_ARRAYS dim_vector dims (void) const { static dim_vector dv (1, 1); return dv; } #else int rows (void) const { return 1; } int columns (void) const { return 1; } int length (void) const { return 1; } #endif for scalar objects, and #ifdef HAVE_ND_ARRAYS dim_vector dims (void) const { return matrix.dims (); } #else int rows (void) const { return matrix.rows (); } int columns (void) const { return matrix.columns (); } int length (void) const { int r = rows (); int c = columns (); return (r == 0 || c == 0) ? 0 : ((r > c) ? r : c); } #endif for vector/matrix objects, in the corresponding *.h files, and the corresponding Makefiles need to have the flag $(HAVE_ND_ARRAYS) added appropriately. I've already added the HAVE_ND_ARRAYS to configure.base, so this should be a relatively easy change to make. What needs to be changed includes main/comm/ov-galois.h % This is my file. main/sparse/make_sparse.h main/symbolic/ov-ex.h main/symbolic/ov-ex-mat.h main/symbolic/ov-relational.h main/symbolic/ov-vpa.h I'll of course change my own code, but would not like to touch sparse of symbolic packages if the authors are willing to do the changes themselves. There are possibly other changes for 2.1.51 that I'm not aware of, also. So if you can think of anything now is the time to make these changes, so a new octave-forge release can be made rapidly. Cheers David -- David Bateman Dav...@mo... Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary |