TTTT Analysis
0.1
|
Find and return the maximum value of a vector and its index. More...
#include <value.hpp>
Public Member Functions | |
MaxIndex (Value< std::vector< T >> *v, const std::string alias="") | |
Public Member Functions inherited from fv::ReduceIndex< T > | |
ReduceIndex (Function< std::pair< T, int >(std::vector< T >)> &reduce, Value< std::vector< T > > *v, const std::string alias="") | |
Public Member Functions inherited from fv::DerivedValue< std::pair< T, int > > | |
DerivedValue (const std::string &name, const std::string &alias="") | |
void | log () |
std::pair< T, int > & | get_value () |
Calculate, if necessary, and return the value held by this object. | |
Public Member Functions inherited from fv::Value< std::pair< T, int > > | |
Value (const std::string &name, const std::string &alias="") | |
void | enable_logging (const std::function< std::string(std::pair< T, int >)> &value_to_string=[](std::pair< T, int >){return "";}) |
void | disable_logging () |
Additional Inherited Members | |
Protected Attributes inherited from fv::DerivedValue< std::pair< T, int > > | |
std::pair< T, int > | value |
Protected Attributes inherited from fv::Value< std::pair< T, int > > | |
std::function< std::string(std::pair< T, int >)> | value_to_string |
Find and return the maximum value of a vector and its index.