comparison liboctave/dMatrix.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
584 } 584 }
585 585
586 Matrix 586 Matrix
587 Matrix::extract_n (octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const 587 Matrix::extract_n (octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const
588 { 588 {
589 return index (idx_vector (r1, r1 + nr), idx_vector (r2, r2 + nr)); 589 return index (idx_vector (r1, r1 + nr), idx_vector (c1, c1 + nc));
590 } 590 }
591 591
592 // extract row or column i. 592 // extract row or column i.
593 593
594 RowVector 594 RowVector