How do I get symengine to expand expressions that involve calls to trig functions where there is a closed form representation of the expression using radicals?
auto test = se::Expression("sin((3 / 10) * pi)");
se::Expression out = se::trig_to_sqrt(test);
does not work. Im not sure what trig_simplify does but seems like not this.
Also is there a call similar to eval_double but instead evaluates to a multiprecision/arbitrary precision representation of the value? What I would like to be able to do is use expression trees in my code unless they get too deep at which point switch to multiprecision numeric value.