Ask Your Question

Revision history [back]

Unfortunately, at the moment, it does not seem possible to provide an option in integrate for external integrators like Fricas. Indeed, as you can see in lines 812-816 of the code source, only the expression, the variable and the integration bounds are passed to the external integrator:

if algorithm is not None:
    integrator = available_integrators.get(algorithm)
    if not integrator:
        raise ValueError("Unknown algorithm: %s" % algorithm)
    return integrator(expression, v, a, b)

Probably, this could easily be improved by adding a keyword argument algorithm_options to integrate. Do not hesitate to open a ticket on SageMath Trac to do so.