Basically what the title states. I'm getting what I think to be numerical errors propagating in my code, so am attempting to improve by changing all the types to mpcs, with a high precision. However, some of my calculations are symbolic and sympy doesn't seem to like the mpcs.
val += (1.0/2.0)*(1.0/kConversionFactor)**(ci) * ( A*k**(ln-lm+2*ci) - 1.0j*B*k**(ln+lm+1+2*ci) )
TypeError: unsupported operand type(s) for *: 'mpc' and 'Symbol'
k is the sympy symbol A and B are mpc's