Changeset 825 for trunk/yat/utility/vector.h
- Timestamp:
- Mar 19, 2007, 1:46:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/vector.h
r811 r825 511 511 512 512 /** 513 \brief Get the minimum and maximim values of the vector.514 515 \return The minimum and maximum values of the vector,516 respectively.517 */518 std::pair<double,double> minmax(const vector&);519 520 /**521 \brief Locate the maximum and minumum element in the vector.522 523 \return The indecies to the element with the minimum and maximum524 values of the vector, respectively.525 526 \note Lower index has precedence.527 */528 std::pair<size_t,size_t> minmax_index(const vector&);529 530 /**531 513 \brief Create a vector \a flag indicating NaN's in another vector 532 514 \a templat. … … 541 523 \return True if the \a templat vector contains at least one NaN. 542 524 */ 543 bool nan(const matrix& templat, matrix& flag);525 bool nan(const vector& templat, vector& flag); 544 526 545 527 /** … … 552 534 553 535 /** 536 Randomly shuffles the elements in vector \a invec 537 */ 538 void shuffle(vector& invec); 539 540 /** 554 541 Sort the elements in the vector. 555 542
Note: See TracChangeset
for help on using the changeset viewer.