Changeset 64 for trunk/src/vector.h


Ignore:
Timestamp:
Apr 19, 2004, 2:32:22 PM (17 years ago)
Author:
Peter
Message:

minmax GSL added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/vector.h

    r63 r64  
    8989    ///
    9090    inline gsl_vector* gsl_vector_pointer(void) { return v_; }
     91
     92    ///This function returns the indices of the minimum and maximum values in
     93    ///the vector, storing them in imin and imax. When
     94    ///there are several equal minimum or maximum elements then the lowest
     95    ///indices are returned. @return Index corresponding to the smallest
     96    ///and largest value.
     97    ///
     98    std::pair<u_int,u_int> vector::minmax_index() const;
    9199
    92100    ///This function returns the indices of the minimum and maximum values in
     
    96104    ///and largest value.
    97105    ///
    98     std::pair<u_int,u_int> vector::minmax_index(const std::vector<u_int>& subset ) const;
     106    std::pair<size_t,size_t> vector::minmax_index(const std::vector<size_t>& subset ) const;
    99107
    100108    ///
Note: See TracChangeset for help on using the changeset viewer.