Changeset 257 for trunk/src/vector.h
- Timestamp:
- Mar 4, 2005, 1:53:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/vector.h
r227 r257 68 68 69 69 /// 70 /// The vector view constructor. 71 /// 72 /// Create a view of vector \a v, with starting index \a offset, 73 /// size \a n, and an optional \a stride. 74 /// 75 /// A vector view can be used as any vector with the difference 76 /// that changes made to the view will also change the object that 77 /// is viewed. Also, using the copy constructor will create a new 78 /// vector object that is a copy of whatever is viewed. If a copy 79 /// of the view is needed the you should use this consturctor to 80 /// get one. 81 /// 82 /// @note If the object viewed by the view goes out of scope or is 83 /// deleted, the view becomes invalid. 84 /// 85 vector(vector& v, size_t offset, size_t n, size_t stride=1); 86 87 /// 70 88 /// Constructor that imports a GSL vector. The GSL object is owned 71 89 /// by the created object. … … 178 196 // Jari, doxygen group as Finding maximum and minimum elements 179 197 std::pair<size_t,size_t> vector::minmax_index(void) const; 180 181 ///This function returns the indices of the minimum and maximum182 ///values in the sub-vector (defined by \a subset), storing them183 ///in imin and imax. When there are several equal minimum or184 ///maximum elements then the lowest indices are returned. The185 ///returned index is the index from the complete vector (not the186 ///sub-vector)187 ///188 /// @return Index corresponding to the smallest and largest value.189 ///190 std::pair<size_t,size_t>191 vector::TEMP_minmax_index(const std::vector<size_t>& subset ) const;192 198 193 199 ///
Note: See TracChangeset
for help on using the changeset viewer.