Mercurial > hg > octave-nkf
changeset 4627:212fc2115e09
[project @ 2003-11-17 03:48:03 by jwe]
author | jwe |
---|---|
date | Mon, 17 Nov 2003 03:48:04 +0000 |
parents | 1ba089061bfe |
children | c0121a3b9cbe |
files | ChangeLog Makeconf.in octMakefile.in src/ChangeLog src/ov-range.h |
diffstat | 5 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> + * Makeconf.in (SHLLIB_VER): Fix typo. + * Makeconf.in (WARN_CFLAGS, WARN_CXXFLAGS): Substitute them. (ALL_CFLAGS, BUG_CFLAGS): Add $(WARN_CFLAGS). (ALL_CXXFLAGS, BUG_CXXFLAGS): Add $(WARN_CXXFLAGS).
--- a/Makeconf.in +++ b/Makeconf.in @@ -66,7 +66,7 @@ SHLEXT = @SHLEXT@ SHLEXT_VER = @SHLEXT_VER@ SHLLIB = @SHLLIB@ -SHLLIB_VER = @SHLLIB_VvER@ +SHLLIB_VER = @SHLLIB_VER@ SHLBIN = @SHLBIN@ SHLBIN_VER = @SHLBIN_VER@ SHLLINKEXT=
--- a/octMakefile.in +++ b/octMakefile.in @@ -186,6 +186,9 @@ rm -rf `cat .fname` gzip --best `cat .fname`.tar rm -f .fname + echo "*******************" + echo "Tag the CVS archive" + echo "*******************" .PHONY: dist # Rules for making a snapshot.
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> + + * ov-range.h (octave_range::reshape): New function. + 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> * version.h (OCTAVE_VERSION): Now 2.1.51.
--- a/src/ov-range.h +++ b/src/ov-range.h @@ -109,6 +109,9 @@ return dim_vector (n > 0, n); } + octave_value reshape (const dim_vector& new_dims) const + { return NDArray (matrix_value().reshape (new_dims)); } + bool is_defined (void) const { return true; } bool is_constant (void) const { return true; }