IIntegralThistle
Product

Product features · Exact polynomial antiderivatives

01

Review antiderivative.py for the coefficient-to-degree shift and the deliberate choice of zero as the integration constant.

01

Connection

Base URL, credentials and a reachable server.

02

Selection

A model available through the configured endpoint.

03

Capabilities

Context limits and tool support are determined by the model and server.

Exact polynomial antiderivatives

● ● ●IntegralThistle●
A concrete starting point · Exact polynomial antiderivatives ×
from fractions import Fraction

def antiderivative(coefficients):
    if type(coefficients) is not list or len(coefficients) > 64:
        raise ValueError("integral.input")
    if any(type(value) is not int or abs(value) > 10**9 for value in coefficients):
        raise ValueError("integral.coefficient")
    return [Fraction(0)] + [Fraction(value, degree+1)
                            for degree, value in enumerate(coefficients)]
✳Exact polynomial antiderivatives
✓ ChangesReview before applying ↗
Illustrative workspace
AI coding workspace

Your next change starts here.

Get the Windows app ↗