Mercurial > hg > octave-lyh
diff liboctave/intNDArray.cc @ 5073:e71be9c548f2
[project @ 2004-11-09 18:31:25 by jwe]
author | jwe |
---|---|
date | Tue, 09 Nov 2004 18:31:26 +0000 |
parents | 43f4ebd2704c |
children | e35b034d3523 |
line wrap: on
line diff
--- a/liboctave/intNDArray.cc +++ b/liboctave/intNDArray.cc @@ -81,6 +81,15 @@ } template <class T> +intNDArray<T> +intNDArray<T>::concat (const intNDArray<T>& rb, const Array<int>& ra_idx) +{ + if (rb.numel () > 0); + insert (rb, ra_idx); + return *this; +} + +template <class T> intNDArray<T>& intNDArray<T>::insert (const intNDArray<T>& a, int r, int c) {