Interpolation Approximation
Developmentinterpolation-approximationInterpolation Approximation is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Function interpolation and approximation methods
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/mathematics/skills/interpolation-approximation/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/interpolation-approximation, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Interpolation and Approximation
Purpose
Provides function interpolation and approximation methods for data fitting and function representation.
Capabilities
- Polynomial interpolation (Lagrange, Newton, Chebyshev)
- Spline interpolation (cubic, B-spline)
- Rational approximation (Pade)
- Least squares fitting
- Minimax approximation (Remez algorithm)
- Approximation error bounds
Usage Guidelines
- Method Selection: Choose based on smoothness and accuracy needs
- Node Placement: Use Chebyshev nodes to minimize Runge phenomenon
- Spline Order: Select spline degree based on continuity requirements
- Error Analysis: Bound approximation errors rigorously
Tools/Libraries
- Chebfun
- scipy.interpolate