An accessor to return the mean of the distribution. More...
#include <vpdt_distribution_accessors.h>
Classes | |
| struct | rebind |
| rebind this functor to another distribution type. More... | |
Public Types | |
| typedef dist_type::field_type | return_type |
| the functor return type. | |
| typedef dist_type | distribution_type |
| the distribution operated on by the functor. | |
Public Member Functions | |
| bool | operator() (const dist_type &d, return_type &retval) const |
| The main function. | |
Static Public Attributes | |
| static const bool | valid_functor = true |
| is this functor valid for its distribution type. | |
An accessor to return the mean of the distribution.
Definition at line 47 of file vpdt_distribution_accessors.h.
| typedef dist_type vpdt_mean_accessor< dist_type >::distribution_type |
the distribution operated on by the functor.
Definition at line 53 of file vpdt_distribution_accessors.h.
| typedef dist_type::field_type vpdt_mean_accessor< dist_type >::return_type |
the functor return type.
Definition at line 51 of file vpdt_distribution_accessors.h.
| bool vpdt_mean_accessor< dist_type >::operator() | ( | const dist_type & | d, |
| return_type & | retval | ||
| ) | const [inline] |
The main function.
Definition at line 64 of file vpdt_distribution_accessors.h.
const bool vpdt_mean_accessor< dist_type >::valid_functor = true [static] |
is this functor valid for its distribution type.
Definition at line 55 of file vpdt_distribution_accessors.h.
1.7.5.1