Mercurial > hg > octave-lyh
comparison liboctave/fMatrix.cc @ 10806:7c542263a92a
omissions from last two patches
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 20 Jul 2010 13:10:40 +0200 |
parents | 8c858a1a2079 |
children | 2c2d4a2f1047 |
comparison
equal
deleted
inserted
replaced
10805:8c858a1a2079 | 10806:7c542263a92a |
---|---|
583 } | 583 } |
584 | 584 |
585 FloatMatrix | 585 FloatMatrix |
586 FloatMatrix::extract_n (octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const | 586 FloatMatrix::extract_n (octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const |
587 { | 587 { |
588 return index (idx_vector (r1, r1 + nr), idx_vector (r2, r2 + nr)); | 588 return index (idx_vector (r1, r1 + nr), idx_vector (c1, c1 + nc)); |
589 } | 589 } |
590 | 590 |
591 // extract row or column i. | 591 // extract row or column i. |
592 | 592 |
593 FloatRowVector | 593 FloatRowVector |