wpl::tool::lr::pair_with_microseconds< ImplType > Struct Template Reference

Linear regression adapter - make a std::pair of elements with microseconds suitable for linear regression. More...

#include <wipal/tool/linear_regression.hh>

List of all members.

Public Member Functions

template<class T1 , class T2 >
ImplType x (const std::pair< T1, T2 > &p) const
template<class T1 , class T2 >
ImplType y (const std::pair< T1, T2 > &p) const

Detailed Description

template<class ImplType>
struct wpl::tool::lr::pair_with_microseconds< ImplType >

Linear regression adapter - make a std::pair of elements with microseconds suitable for linear regression.

For a given std::pair p, the x() method returns p.first.microseconds() while the y() method returns p.second.microseconds().

See also:
linear_regression(), lr::pair.

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

Generated by  doxygen 1.6.2