Mercurial > octave
diff liboctave/CNDArray.cc @ 9513:9f870f73ab7d
implement built-in diff
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 11 Aug 2009 09:08:12 +0200 |
parents | c6edba80dfae |
children | 0ce82753dd72 |
line wrap: on
line diff
--- a/liboctave/CNDArray.cc Mon Aug 10 15:18:41 2009 -0400 +++ b/liboctave/CNDArray.cc Tue Aug 11 09:08:12 2009 +0200 @@ -672,6 +672,12 @@ } ComplexNDArray +ComplexNDArray::diff (octave_idx_type order, int dim) const +{ + return do_mx_diff_op<ComplexNDArray> (*this, dim, order, mx_inline_diff); +} + +ComplexNDArray ComplexNDArray::concat (const ComplexNDArray& rb, const Array<octave_idx_type>& ra_idx) { if (rb.numel () > 0)