Mercurial > hg > octave-avbm
diff liboctave/dRowVector.cc @ 1360:7eb93d12654c
[project @ 1995-09-05 21:51:54 by jwe]
author | jwe |
---|---|
date | Tue, 05 Sep 1995 21:51:54 +0000 (1995-09-05) |
parents | 611d403c7f3d |
children | 33bb7975f866 |
line wrap: on
line diff
--- a/liboctave/dRowVector.cc +++ b/liboctave/dRowVector.cc @@ -52,9 +52,7 @@ const double*, const int&); } -/* - * Row Vector class. - */ +// Row Vector class. int RowVector::operator == (const RowVector& a) const @@ -226,7 +224,7 @@ if (len == 0 || a.cols () == 0) return RowVector (0); -// Transpose A to form A'*x == (x'*A)' + // Transpose A to form A'*x == (x'*A)' int a_nr = a.rows (); int a_nc = a.cols (); @@ -304,6 +302,7 @@ operator << (ostream& os, const RowVector& a) { // int field_width = os.precision () + 7; + for (int i = 0; i < a.length (); i++) os << " " /* setw (field_width) */ << a.elem (i); return os;