search for: vector_

Displaying 3 results from an estimated 3 matches for "vector_".

Did you mean: vector
2004 Oct 13
0
[LLVMdev] Patch to use correct namespace for 'find' in SetVector.h
.../ADT/SetVector.h 11 Sep 2004 20:38:25 -0000 1.8 +++ include/llvm/ADT/SetVector.h 13 Oct 2004 14:44:33 -0000 @@ -112,7 +112,7 @@ /// @brief Remove an item from the set vector. void remove(const value_type& X) { if (0 < set_.erase(X)) { - iterator I = find(vector_.begin(),vector_.end(),X); + iterator I = std::find(vector_.begin(),vector_.end(),X); assert(I != vector_.end() && "Corrupted SetVector instances!"); vector_.erase(I); }
2003 Oct 29
1
Wishlist: user-specified color names for palette() (PR#4836)
...fter doing this, the names `mycolors' are not stored in palette() anymore, so that palette() returns a mix of built-in color names and RGB values. Eg: > palette() [1] "black" "#EAA200" "#FF6633" "gray60" I wish that palette() would return a _named vector_ like this: > palette() black orange tomato gray "#000000" "#EAA200" "#FF6633" "#999999" One application: I want to specify colors by name, where the names returned by palette() are searched first. If there is a match, the correspond...
2009 Sep 28
2
creating vectors from a list
...by function! List of 246  $ 0   : num [1:28] 22 11 31...  $ 1   : num [1:15] 12 14 9 ... .. .. ..  - attr(*, "dim")= int 250  - attr(*, "dimnames")=List of 1 The problem is that each list of 250 has different length! I would like to get the values of each list in a vector like vector_0 = (22,11,31,..), is this possible? Thank you in advance, Christina [[alternative HTML version deleted]]