From bug-request at octave dot org Wed Jan 26 16:13:58 2005 Subject: Re: Bug concatenation of NDArray's From: "John W. Eaton" To: David dot Bateman at motorola dot com Cc: bug at octave dot org Date: Wed, 26 Jan 2005 17:17:26 -0500 On 26-Jan-2005, David Bateman wrote: | John W. Eaton wrote: | | > Yes, it seems that it could be. Even if this is incorrect usage, I | > think it should be detected so we can issue an error message instead | > of (potentially) crashing. | | Ok, then consider the following patch, that detects the typical case | that is used for matrix concatenation, and uses the fast existing code, | and if that can't be used falls back to the generic code that is about | twice as slow for 2D arrays (probably slower for ND).. I applied your patch. Thanks, jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------