...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::numeric::functional::outer_product<Left, Right, std_vector_tag, std_vector_tag>
// In header: <boost/accumulators/statistics/covariance.hpp> template<typename Left, typename Right> struct outer_product<Left, Right, std_vector_tag, std_vector_tag> { // types typedef Left first_argument_type; typedef Right second_argument_type; typedef ublas::matrix< typename functional::multiplies< typename Left::value_type, typename Right::value_type >::result_type > result_type; // public member functions result_type operator()(Left &, Right &) const; };