feat(math): add polynomial interpolation operations (#1883) - #2050
feat(math): add polynomial interpolation operations (#1883)#2050morluto wants to merge 1 commit into
Conversation
Add polynomial_interpolation_ops domain with 3 operations: divided differences, Newton form, and Newton evaluation. Uses SymPy for exact rational arithmetic. Closes #1883
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Deep review summaryVerdict: REQUEST CHANGES — repeated nodes and mismatched sample arrays cross the boundary, and the three operations do not share one coherent exact scalar domain. 1. Distinct interpolation nodes are not requiredOrdinary Newton divided differences divide by 2. Two request models omit the nodes/values length invariantOnly 3. Parsing and advertised domains are inconsistent
Use Jacobian's canonical rational type consistently, or explicitly define a bounded symbolic coefficient field. Avoid raw 4.
|
Summary
Implements the
polynomial_interpolation_opsdomain with 3 atomic operations for polynomial interpolation using exact rational arithmetic.Closes #1883
Operations
polynomial.interpolation.divided_differences.computepolynomial.interpolation.newton_form.computepolynomial.interpolation.newton_evaluate.computeDesign
Continue this on Linzumi