Changeset 276
- Timestamp:
- Apr 14, 2005, 7:26:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/vector.h
r260 r276 332 332 333 333 /// 334 /// Addition and assign operator. 335 /// 336 /// @return The resulting vector. 337 /// 338 inline vector operator+=( const vector& other ) 339 { gsl_vector_add(v_,other.v_); return *this; } 340 341 342 /// 334 343 /// Vector subtraction. 335 344 /// … … 337 346 /// 338 347 vector operator-( const vector& other ) const; 348 349 /// 350 /// Subtract and assign operator. 351 /// 352 /// @return The resulting vector. 353 /// 354 inline vector operator-=( const vector& other ) 355 { gsl_vector_sub(v_,other.v_); return *this; } 339 356 340 357 ///
Note: See TracChangeset
for help on using the changeset viewer.