![]() |
Rosetta Utilities
2015.25
|
Namespaces | |
| utility | |
| unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1. | |
Functions | |
| template<typename T > | |
| int | utility::argmin (const std::vector< T > &iterable) |
| Returns the argument whose value is minimal according to operator<. More... | |
| template<typename T > | |
| int | utility::argmin (const utility::vector1< T > &iterable) |
| Returns the argument whose value is minimal according to operator<. More... | |
| template<typename T > | |
| int | utility::argmax (const std::vector< T > &iterable) |
| Returns the argument whose value is maximal according to operator>. More... | |
| template<typename T > | |
| int | utility::argmax (const utility::vector1< T > &iterable) |
| Returns the argument whose value is maximal according to operator>. More... | |
1.8.7