Changeset 536 for trunk/lib/gslapi/matrix.h
 Timestamp:
 Mar 3, 2006, 10:19:29 PM (17 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/lib/gslapi/matrix.h
r535 r536 336 336 /// 337 337 inline double& operator()(size_t row,size_t column) 338 { return (*gsl_matrix_ptr(m_,row,column)); } 338 { 339 assert(row<rows()); 340 assert(column<columns()); 341 return (*gsl_matrix_ptr(m_,row,column)); 342 } 339 343 340 344 /// … … 343 347 /// 344 348 inline const double& operator()(size_t row,size_t column) const 345 { return (*gsl_matrix_const_ptr(m_,row,column)); } 349 { 350 assert(row<rows()); 351 assert(column<columns()); 352 return (*gsl_matrix_const_ptr(m_,row,column)); 353 } 346 354 347 355 ///
Note: See TracChangeset
for help on using the changeset viewer.