Hi Boost,
I would like to be able to use the Eigen linear algebra library with Boost.Multiprecision with et_on. However, as noted here:
for max, et_on isn't compatible out of the box. Aside from writing my own little overload for max for the particular form being produced in my line of code from within Eigen, does anyone have a fix for enabling max with expression templates on?
MWE:
{
using mpfr = boost::multiprecision::mpfr_float; // et_on by default, which is what i want
using std::max;
mpfr a(1), b(2), c(4);
auto q = b*b+c;
mpfr r = max(a,q);
}
Thanks a lot,
Daniel