Mercurial > octave-nkf
comparison src/Cell.cc @ 5073:e71be9c548f2
[project @ 2004-11-09 18:31:25 by jwe]
author | jwe |
---|---|
date | Tue, 09 Nov 2004 18:31:26 +0000 |
parents | a1073eef650c |
children | e35b034d3523 |
comparison
equal
deleted
inserted
replaced
5072:97b62f0c1bee | 5073:e71be9c548f2 |
---|---|
112 | 112 |
113 return *this; | 113 return *this; |
114 } | 114 } |
115 | 115 |
116 Cell | 116 Cell |
117 concat (const Cell& ra, const Cell& rb, const Array<int>& ra_idx) | 117 Cell::concat (const Cell& rb, const Array<int>& ra_idx) |
118 { | 118 { |
119 Cell retval (ra); | 119 return insert (rb, ra_idx); |
120 retval.insert (rb, ra_idx); | |
121 return retval; | |
122 } | 120 } |
123 | 121 |
124 Cell& | 122 Cell& |
125 Cell::insert (const Cell& a, int r, int c) | 123 Cell::insert (const Cell& a, int r, int c) |
126 { | 124 { |