T fj_xmax_hz_het(const std::vector< T > &m1, const std::vector< T > &m2, const std::vector< std::function< T(const T &)> > &cdf, const T &tol=num_traits< T >::from_double(1e-10), unsigned npanels=2000)
Harrison-Zertal approximation of the maximum of general variables.