Changeset 357
- Timestamp:
- Aug 3, 2005, 4:53:06 PM (18 years ago)
- Location:
- trunk/lib/gslapi
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/gslapi/matrix.cc
r301 r357 199 199 s.setf( ios::dec ); 200 200 s.precision(12); 201 // Peter, end with an "\n" to make it compatible with stream constructor202 201 for(size_t i=0, j=0; i<m.rows(); i++) 203 202 for (j=0; j<m.columns(); j++) { -
trunk/lib/gslapi/matrix.h
r321 r357 249 249 /// 250 250 /// The output operator for the matrix class. 251 /// @todo remove the ending \n251 /// 252 252 std::ostream& operator<< (std::ostream& s, const matrix&); 253 253 -
trunk/lib/gslapi/vector.cc
r343 r357 209 209 { 210 210 s.setf(std::ios::fixed); 211 211 s.precision(12); 212 212 for (size_t j = 0; j < a.size(); ++j) { 213 213 s << a[j]; -
trunk/lib/gslapi/vector.h
r343 r357 384 384 /// 385 385 /// The output operator for the vector class. 386 /// @todo make higher precision.386 /// 387 387 std::ostream& operator<<(std::ostream&, const vector& ); 388 388
Note: See TracChangeset
for help on using the changeset viewer.