From: William P. Y. H <wil...@ya...> - 2005-11-21 14:03:40
|
--- Paul Kienzle <pki...@us...> wrote: > Please send the new version of blkdiag to John Eaton for inclusion in > Octave. > As in, posting to bu...@oc...? > You should use @ndims rather than 'ndims'. > Why? I think "ndims" is better because it's faster, and it does the same thing, so why not use it? > Please add some test cases to the end, such as > > %!assert(blkdiag(1,ones(2),1),[1,0,0,0;0,1,1,0;0,1,1,0;0,0,0,1]) > OK. I'll add some tests :) William Poetra Yoga Hadisoeseno __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com |