Mercurial > hg > octave-lyh
diff liboctave/ChangeLog @ 6388:4109a2386346
[project @ 2007-03-07 08:47:36 by jwe]
author | jwe |
---|---|
date | Wed, 07 Mar 2007 08:47:36 +0000 |
parents | c2eb95ca0e2b |
children | f427b33aeb4c |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,13 +1,12 @@ -2007-03-06 John W. Eaton <jwe@octave.org> - - * Array.cc (assign1, assign2): For assignments like x(:,1) = 1 or - x(:) = 1, only resize if X is 0x0. - (assign2): Use single loop for x(:) = nonempty_rhs case. - If single index and rhs is 0x0, always call maybe_delete_elements - on lhs. - (Array<T>::maybe_delete_elements (Array<idx_vector>&, const T&)): - Quick return of [] if doing x(:) = []. - +2007-03-07 John W. Eaton <jwe@octave.org> + + * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, + const T&)): Handle case of more indices than dimensions. + (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more + cases to be handled by assignN. + (assignN (Array<LT>&, const Array<RT>&, const LT&)): + Special cases for 2-d array assignments for speed. + Improve handling of scalar RHS and empty indices. 2007-03-05 David Bateman <dbateman@free.fr>