orbtree
Public Types | Public Member Functions | List of all members
orbtree::NVPowerMulti< KeyType > Struct Template Reference

example function: key^, i.e. raise the key for a given power; version for a map, where the mapped value is the number of occurrences of the key More...

#include <orbtree.h>

Public Types

typedef double result_type
 result is double
 
typedef KeyType argument_type
 function argument is the key stored in the tree
 
typedef double ParType
 exponent is double
 

Public Member Functions

double operator() (const KeyType &k, double a) const
 now the parameter is assumed to be a pair of the value and the number of occurrences
 

Detailed Description

template<class KeyType>
struct orbtree::NVPowerMulti< KeyType >

example function: key^, i.e. raise the key for a given power; version for a map, where the mapped value is the number of occurrences of the key


The documentation for this struct was generated from the following file: