C++ evaluation of arbitrary orders in opacity for (D)GLV radiative energy loss